[PATCH] Char: sx, use eisa probing
[powerpc.git] / drivers / char / watchdog / mpc8xx_wdt.c
index 11f0ccd..8aaed10 100644 (file)
@@ -126,13 +126,13 @@ static int mpc8xx_wdt_ioctl(struct inode *inode, struct file *file,
                break;
 
        default:
-               return -ENOIOCTLCMD;
+               return -ENOTTY;
        }
 
        return 0;
 }
 
-static struct file_operations mpc8xx_wdt_fops = {
+static const struct file_operations mpc8xx_wdt_fops = {
        .owner = THIS_MODULE,
        .llseek = no_llseek,
        .write = mpc8xx_wdt_write,