diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2007-07-29 18:46:50 +0000 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2007-07-29 18:58:39 +0000 |
commit | 647e50f38345525d8261c295a0d0629dcea23a9b (patch) | |
tree | 1bf37cb38df1ee3d3fe4accb665c521674dd27c3 /drivers/char/watchdog/mixcomwd.c | |
parent | 286201dcabf7311d2e22a95829ba40744b15c81d (diff) | |
download | blackbird-op-linux-647e50f38345525d8261c295a0d0629dcea23a9b.tar.gz blackbird-op-linux-647e50f38345525d8261c295a0d0629dcea23a9b.zip |
[WATCHDOG] Fix pcwd_init_module crash
Fix for the problem detected by Ingo Molnar:
enabling CONFIG_PCWATCHDOG=y crashes bzImage bootup.
The reason for this can be found in drivers/makefile
We first do:
obj-y += char/
and later we do:
obj-y += base/ block/ misc/ mfd/ net/ media/
So if we put a platform or isa or usb bus driver in char/watchdog
(which is called from the Makefile in drivers/char/Makefile)
then we didn't have the different device drivers initialized yet
(they are in drivers/base and drivers/usb and ...)
This fix makes sure that we compile the watchdog drivers after
drivers/base, drivers/misc, drivers/pci and drivers/usb.
We also do the compile after hwmon because in the future the
watchdog temperature support will use the hwmon system.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char/watchdog/mixcomwd.c')
0 files changed, 0 insertions, 0 deletions