[PATCH] make more file_operation structs static
[deliverable/linux.git] / drivers / char / watchdog / wdt.c
index a1d972c8f44cf4929b677601f3324b572abf74d2..70be81e39a61b3284cd86775ebcdc6fa0d9f54c3 100644 (file)
@@ -494,7 +494,7 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
  */
 
 
-static struct file_operations wdt_fops = {
+static const struct file_operations wdt_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .write          = wdt_write,
@@ -510,7 +510,7 @@ static struct miscdevice wdt_miscdev = {
 };
 
 #ifdef CONFIG_WDT_501
-static struct file_operations wdt_temp_fops = {
+static const struct file_operations wdt_temp_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .read           = wdt_temp_read,
This page took 0.023791 seconds and 5 git commands to generate.