All of lore.kernel.org
 help / color / mirror / Atom feed
* platform_get_resource()
@ 2005-02-10 15:02 Thomas Koeller
  0 siblings, 0 replies; only message in thread
From: Thomas Koeller @ 2005-02-10 15:02 UTC (permalink / raw)
  To: mochel; +Cc: linux-kernel

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

==============================


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-10 15:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10 15:02 platform_get_resource() Thomas Koeller

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.