Thread (18 messages) 18 messages, 5 authors, 2011-05-31

[PATCH 2/4] ARM: mxc: migrate mach-mx5 gpio driver to gpio-mxc

From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-05-31 11:28:36
Also in: lkml

On Tuesday 31 May 2011, Shawn Guo wrote:
quoted
Just open-code the mxc_add_mxc_gpio() by moving the individual calls to
mxc_add_gpio() into the respective callers. Having a global
mxc_add_mxc_gpio() function that does something different for each
caller seems entirely pointless to me.
Right now, mxc_add_mxc_gpio() is a postcore_initcall.  Moving
individual mxc_add_gpio() call into irq_init function does not work.
And I need to find a proper caller for each SoC to call mxc_add_gpio
to register gpio devices.
 
Why not init_machine? That is an arch_initcall(), so it's probably close
enough.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help