xfs: convert the per-mount dquot list to use list heads
[safe/jmp/linux-2.6] / drivers / watchdog / iop_wdt.c
index 8278b13..aef9478 100644 (file)
@@ -32,7 +32,7 @@
 #include <linux/miscdevice.h>
 #include <linux/watchdog.h>
 #include <linux/uaccess.h>
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 
 static int nowayout = WATCHDOG_NOWAYOUT;
 static unsigned long wdt_status;
@@ -139,7 +139,7 @@ static long iop_wdt_ioctl(struct file *file,
 
        switch (cmd) {
        case WDIOC_GETSUPPORT:
-               if (copy_to_user(argp, &ident, sizeof ident))
+               if (copy_to_user(argp, &ident, sizeof(ident)))
                        ret = -EFAULT;
                else
                        ret = 0;
@@ -192,7 +192,7 @@ static int iop_wdt_release(struct inode *inode, struct file *file)
                if (test_bit(WDT_ENABLED, &wdt_status))
                        state = wdt_disable();
 
-       /* if the timer is not disbaled reload and notify that we are still
+       /* if the timer is not disabled reload and notify that we are still
         * going down
         */
        if (state != 0) {