[WATCHDOG] watchdog miscdevice patch
authorAndrew Victor <andrew@sanpeople.com>
Mon, 4 Dec 2006 13:56:18 +0000 (15:56 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 7 Dec 2006 21:46:50 +0000 (22:46 +0100)
commite0b79e0bc261ad320f6c218ac6823f7ca859171f
treeaf0aaf30edbe6d42217baa242c6d7aba8bbb406e
parent74e86ab884fb491c208905bdc32a9d95740be583
[WATCHDOG] watchdog miscdevice patch

It looks like the recent changes to 'struct miscdevice' have impacted
some of the Watchdog drivers.

at91rm9200_wdt.c:205: error: 'struct miscdevice' has no member named 'dev'

For the AT91RM9200 driver I just replaced "miscdevice.dev" with
"miscdevice.parent".

The mpcore_wdt.c and omap_wdt.c seem similarly affected.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/at91rm9200_wdt.c
drivers/char/watchdog/mpcore_wdt.c
drivers/char/watchdog/omap_wdt.c