]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/watchdog/mtx-1_wdt.c
pageflags: standardize comment inclusion in asm-offsets.h and fix MIPS
[linux-2.6-omap-h63xx.git] / drivers / watchdog / mtx-1_wdt.c
index 789831b3fa00a9cbbe050d4bde6b3053a702c280..a8e67383784e4918eea9ccb84b56b6b2cc7177a0 100644 (file)
@@ -59,9 +59,9 @@ static int ticks = 100 * HZ;
 
 static struct {
        struct completion stop;
-       volatile int running;
+       int running;
        struct timer_list timer;
-       volatile int queue;
+       int queue;
        int default_ticks;
        unsigned long inuse;
        unsigned gpio;
@@ -243,6 +243,7 @@ static struct platform_driver mtx1_wdt = {
        .probe = mtx1_wdt_probe,
        .remove = mtx1_wdt_remove,
        .driver.name = "mtx1-wdt",
+       .driver.owner = THIS_MODULE,
 };
 
 static int __init mtx1_wdt_init(void)
@@ -262,3 +263,4 @@ MODULE_AUTHOR("Michael Stickel, Florian Fainelli");
 MODULE_DESCRIPTION("Driver for the MTX-1 watchdog");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
+MODULE_ALIAS("platform:mtx1-wdt");