Thread (17 messages) 17 messages, 4 authors, 2011-03-29

Re: [PATCH] Input: tca6416-keypad: Change to module_init()

From: Magnus Damm <hidden>
Date: 2011-03-24 03:38:21
Also in: linux-arm-kernel, linux-i2c, linux-omap, linux-sh

On Thu, Mar 24, 2011 at 1:20 AM, Mark Brown
[off-list ref] wrote:
On Thu, Mar 24, 2011 at 01:04:31AM +0900, Magnus Damm wrote:
quoted
Sounds nice. Hopefully that will allow us to use module_init() in
drivers instead of other initcall levels depending on bus type.
None of this is anything to do with the bus type - it's to do with the
function of the devices within the system.  Things that are required for
early init of the kernel get bumped up the list.
Hm, sorry for being unclear - I should have used the words "other
initcall levels depending on the init order of the parent hardware
bus". I'm referring to the state of things now without any patches
from Grant.

I understand that early init code often are using different initcall
levels to make sure they are getting initialized before other code.
Initcalls can also be used to work around link order issues.

I can't however see the reason why a keypad driver needs to be
initialized early on. I may be wrong, but I thought user space was the
only consumer of input devices?

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