]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Driver core: move platform device creation helpers to .init.text (if MODULE=n)
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 21 Jun 2010 14:11:45 +0000 (16:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Aug 2010 20:53:34 +0000 (13:53 -0700)
commit737a3bb9416ce2a7c7a4170852473a4fcc9c67e8
tree0d4ede010d0f998ac4fdd7d2558b2481c8bf67ea
parent44f28bdea09415d40b4d73a7668db5961362ec53
Driver core: move platform device creation helpers to .init.text (if MODULE=n)

Platform devices should only be called by init code, so it should be
possible to move creation helpers to .init.text -- at least if modules
are disabled.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c