]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/char/watchdog/sbc_epx_c3.c
[PATCH] slab: remove SLAB_ATOMIC
[mirror_ubuntu-hirsute-kernel.git] / drivers / char / watchdog / sbc_epx_c3.c
index 09867fadc720705423879bdbbd4e90136d527430..8882b427d24f44d988bd2682fee1559a305eecec 100644 (file)
@@ -141,7 +141,7 @@ static int epx_c3_ioctl(struct inode *inode, struct file *file,
 
                return retval;
        default:
-               return -ENOIOCTLCMD;
+               return -ENOTTY;
        }
 }
 
@@ -154,7 +154,7 @@ static int epx_c3_notify_sys(struct notifier_block *this, unsigned long code,
        return NOTIFY_DONE;
 }
 
-static struct file_operations epx_c3_fops = {
+static const struct file_operations epx_c3_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .write          = epx_c3_write,