[PATCH] make more file_operation structs static
[deliverable/linux.git] / drivers / char / watchdog / pcwd.c
index 6d44ca68312dff82e3ef867a94feedce5e148752..cd7d1b6a5d9fb2dd97aeae7783327f74163d8830 100644 (file)
@@ -740,7 +740,7 @@ static int pcwd_notify_sys(struct notifier_block *this, unsigned long code, void
  *     Kernel Interfaces
  */
 
-static struct file_operations pcwd_fops = {
+static const struct file_operations pcwd_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .write          = pcwd_write,
@@ -755,7 +755,7 @@ static struct miscdevice pcwd_miscdev = {
        .fops =         &pcwd_fops,
 };
 
-static struct file_operations pcwd_temp_fops = {
+static const struct file_operations pcwd_temp_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .read           = pcwd_temp_read,
This page took 0.026341 seconds and 5 git commands to generate.