From: Thomas Koeller <thomas.koeller@baslerweb.com>
To: mochel@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: platform_get_resource()
Date: Thu, 10 Feb 2005 16:02:29 +0100 [thread overview]
Message-ID: <200502101602.29771.thomas.koeller@baslerweb.com> (raw)
Hi Patrick,
I am writing a driver for a platform device, and I want
the platform to communicate to the driver the resources
allocted for the device. My platform has resources that
are not of the standard kind IORESOURCE_[IO|MEM|IRQ|DMA],
and while I can pass them into a call to
platform_device_register(), I cannot retrieve them in
the driver, because platform_get_resource_byname()
explicitly looks only for the standard resource types.
Is this intentional? To me it seems to make a lot more
sense to return any resource with a matching name regardless
of its type.
thanks,
Thomas
--
--------------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
thomas dot koeller at baslerweb dot com
http://www.baslerweb.com
==============================
reply other threads:[~2005-02-10 15:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502101602.29771.thomas.koeller@baslerweb.com \
--to=thomas.koeller@baslerweb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.