summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/at91sam9_wdt.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2009-04-14 22:30:55 +0200
committerWim Van Sebroeck <wim@iguana.be>2009-06-18 09:30:44 +0200
commitb6bf291f1c5bc84272a138b7367741e459005a81 (patch)
tree1989891cd0eefe7143f3809ca36627fe61fb759c /drivers/watchdog/at91sam9_wdt.c
parent[WATCHDOG] Some more general cleanup (diff)
downloadlinux-b6bf291f1c5bc84272a138b7367741e459005a81.tar.xz
linux-b6bf291f1c5bc84272a138b7367741e459005a81.zip
[WATCHDOG] move platform probe and remove function to devinit and devexit
A pointer to probe and remove functions 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: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/at91sam9_wdt.c')
0 files changed, 0 insertions, 0 deletions