]> git.karo-electronics.de Git - linux-beck.git/commit
modpost: members of *driver structs should not point to __init functions
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 29 Jan 2010 10:40:38 +0000 (11:40 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 29 Jan 2010 20:56:55 +0000 (21:56 +0100)
commitb75dcabd6c6c71d7cea64f78b06d18d9cda0ddd1
tree0169ca0b88724ed68ce64a67db2ae3c5cec79297
parent499a2673713c85734a54c37dd90b4b729de399c4
modpost: members of *driver structs should not point to __init functions

Either the functions referred to in a driver struct should live in
.devinit or the driver should be registered using platform_driver_probe
(or equivalent for different driver types) with ->probe being NULL.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
scripts/mod/modpost.c