]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/txx9/rbtx4927/setup.c
[MIPS] TXx9: Cleanup watchdog
[linux-2.6-omap-h63xx.git] / arch / mips / txx9 / rbtx4927 / setup.c
index 54c33c3e9f7dba9af2bf8c6ca9c68d101e5faf46..f01af382e9a8bd9ffd1b36a628bf3ed701096e7a 100644 (file)
@@ -328,30 +328,11 @@ static int __init rbtx4927_ne_init(void)
        return IS_ERR(dev) ? PTR_ERR(dev) : 0;
 }
 
-/* Watchdog support */
-
-static int __init txx9_wdt_init(unsigned long base)
-{
-       struct resource res = {
-               .start  = base,
-               .end    = base + 0x100 - 1,
-               .flags  = IORESOURCE_MEM,
-       };
-       struct platform_device *dev =
-               platform_device_register_simple("txx9wdt", -1, &res, 1);
-       return IS_ERR(dev) ? PTR_ERR(dev) : 0;
-}
-
-static int __init rbtx4927_wdt_init(void)
-{
-       return txx9_wdt_init(TX4927_TMR_REG(2) & 0xfffffffffULL);
-}
-
 static void __init rbtx4927_device_init(void)
 {
        toshiba_rbtx4927_rtc_init();
        rbtx4927_ne_init();
-       rbtx4927_wdt_init();
+       tx4927_wdt_init();
 }
 
 struct txx9_board_vec rbtx4927_vec __initdata = {