LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* of_iomap and request_mem_region
@ 2008-02-10  2:38 Jon Smirl
  2008-02-10  2:45 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Smirl @ 2008-02-10  2:38 UTC (permalink / raw)
  To: Linux/PPC Development

of_iomap doesn't implicitly do a request_mem_region().  How should
request_mem_region() be handled? When using of_iomap you don't get the
length of the region back so it isn't easy to call request_mem_region.

What about adding a third param to of_iomap for the driver name? If it
is non-null also do the request region. If it is null check to make
sure the region has already be requested.

-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-10  3:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-10  2:38 of_iomap and request_mem_region Jon Smirl
2008-02-10  2:45 ` Arnd Bergmann
2008-02-10  2:59   ` Jon Smirl
2008-02-10  3:14     ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox