]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/watchdog/coh901327_wdt.c
Merge tag 'nfs-for-3.3-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[mv-sheeva.git] / drivers / watchdog / coh901327_wdt.c
index 03f449a430d253ca997f0e84e721748707fb674f..5b89f7d6cd0ff4bb6d2f305e025b2ad3ebd18c5b 100644 (file)
@@ -76,8 +76,6 @@ static int irq;
 static void __iomem *virtbase;
 static unsigned long coh901327_users;
 static unsigned long boot_status;
-static u16 wdogenablestore;
-static u16 irqmaskstore;
 static struct device *parent;
 
 /*
@@ -461,6 +459,10 @@ out:
 }
 
 #ifdef CONFIG_PM
+
+static u16 wdogenablestore;
+static u16 irqmaskstore;
+
 static int coh901327_suspend(struct platform_device *pdev, pm_message_t state)
 {
        irqmaskstore = readw(virtbase + U300_WDOG_IMR) & 0x0001U;