]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/watchdog/ixp4xx_wdt.c
Merge branch 'next' into for-linus
[karo-tx-linux.git] / drivers / watchdog / ixp4xx_wdt.c
index ef3157dc9ac1349329563027df8fe21a0f894ba2..8302ef005be7fac9d04814f3f572deb261031277 100644 (file)
 #include <linux/init.h>
 #include <linux/bitops.h>
 #include <linux/uaccess.h>
-
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 
 static int nowayout = WATCHDOG_NOWAYOUT;
 static int heartbeat = 60;     /* (secs) Default is 1 minute */
 static unsigned long wdt_status;
 static unsigned long boot_status;
-static spin_lock_t wdt_lock;
+static DEFINE_SPINLOCK(wdt_lock);
 
 #define WDT_TICK_RATE (IXP4XX_PERIPHERAL_BUS_CLOCK * 1000000UL)