return retval;
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
}
}
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,