]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/watchdog/ixp4xx_wdt.c
hwmon: Define sysfs interface for energy consumption register
[linux-2.6-omap-h63xx.git] / drivers / watchdog / ixp4xx_wdt.c
index 41264a5f173121c836f73a7ac4d778ff109c2a86..8302ef005be7fac9d04814f3f572deb261031277 100644 (file)
@@ -29,7 +29,7 @@ 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)