A pointer to hp680bl_probe is passed to the core via platform_driver_register and so the function must not disappear when the .init sections are discarded. Otherwise (if also having HOTPLUG=y) unbinding and binding a device to the driver via sysfs will result in an oops as does a device being registered late. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> |
||
---|---|---|
.. | ||
atmel-pwm-bl.c | ||
backlight.c | ||
corgi_lcd.c | ||
cr_bllcd.c | ||
da903x_bl.c | ||
generic_bl.c | ||
hp680_bl.c | ||
ili9320.c | ||
ili9320.h | ||
jornada720_bl.c | ||
jornada720_lcd.c | ||
kb3886_bl.c | ||
Kconfig | ||
lcd.c | ||
locomolcd.c | ||
ltv350qv.c | ||
ltv350qv.h | ||
Makefile | ||
mbp_nvidia_bl.c | ||
omap1_bl.c | ||
platform_lcd.c | ||
progear_bl.c | ||
pwm_bl.c | ||
tdo24m.c | ||
tosa_bl.c | ||
tosa_lcd.c | ||
vgg2432a4.c | ||
wm831x_bl.c |