aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/mv64x60.h
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2007-07-24 14:07:38 -0400
committerWim Van Sebroeck <wim@iguana.be>2007-07-24 14:56:35 -0400
commit422db8d229affd429b5a7389600877aa7dea2704 (patch)
tree2cdd7aaf3519379036dafa930bcfe31488cc91db /include/asm-ppc/mv64x60.h
parent28dd1b0b9191ac9cd0b96fa4d09d951498bfbadb (diff)
[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>
Diffstat (limited to 'include/asm-ppc/mv64x60.h')
-rw-r--r--include/asm-ppc/mv64x60.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/mv64x60.h b/include/asm-ppc/mv64x60.h
index db3776f18198..fa6230fb641a 100644
--- a/include/asm-ppc/mv64x60.h
+++ b/include/asm-ppc/mv64x60.h
@@ -121,7 +121,7 @@ extern spinlock_t mv64x60_lock;
121#define MV64x60_64BIT_WIN_COUNT 24 121#define MV64x60_64BIT_WIN_COUNT 24
122 122
123/* Watchdog Platform Device, Driver Data */ 123/* Watchdog Platform Device, Driver Data */
124#define MV64x60_WDT_NAME "wdt" 124#define MV64x60_WDT_NAME "mv64x60_wdt"
125 125
126struct mv64x60_wdt_pdata { 126struct mv64x60_wdt_pdata {
127 int timeout; /* watchdog expiry in seconds, default 10 */ 127 int timeout; /* watchdog expiry in seconds, default 10 */