[WATCHDOG] mv64x60_wdt: set up platform_device in platform code
authorDale Farnsworth <dale@farnsworth.org>
Tue, 24 Jul 2007 18:07:38 +0000 (11:07 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 24 Jul 2007 18:56:35 +0000 (18:56 +0000)
commit422db8d229affd429b5a7389600877aa7dea2704
tree2cdd7aaf3519379036dafa930bcfe31488cc91db
parent28dd1b0b9191ac9cd0b96fa4d09d951498bfbadb
[WATCHDOG] mv64x60_wdt: set up platform_device in platform code

The driver previously registered its platform device data in its own
init function--that's bogus.  Move that code to platform-specific
code in arch/ppc.  This is being done so that the platform code can
decide at runtime whether to initialize this driver or not.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
arch/ppc/syslib/mv64x60.c
drivers/char/watchdog/mv64x60_wdt.c
include/asm-ppc/mv64x60.h