[PATCH 1/9] spi/pxa2xx: register driver properly

Sebastian Andrzej Siewior bigeasy at linutronix.de
Wed Dec 29 16:26:35 EST 2010


* David Brownell | 2010-12-29 09:00:36 [-0800]:

>I detect an effort to change the classic model for board initialization in Linux:  first set up
>and register all system/platform devices on each
>board then do the same for their drivers.  ("hardware first" ... "software second".

What are you suggesting? platform_driver_probe() does not work with
hotpluged devices.
I don't see a reason why it should be available to drivers. It is
unlikely that platform devices are hotlpluged but not impossible.

>- Dave

Sebastian



More information about the linux-arm-kernel mailing list