[PATCH] make more file_operation structs static
[linux-2.6-microblaze.git] / drivers / char / nwbutton.c
index f240a10..7c57ebf 100644 (file)
@@ -183,7 +183,7 @@ static int button_read (struct file *filp, char __user *buffer,
  * attempts to perform these operations on the device.
  */
 
-static struct file_operations button_fops = {
+static const struct file_operations button_fops = {
        .owner          = THIS_MODULE,
        .read           = button_read,
 };