X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fmiscdevice.h;h=5b584dafb5a6d4384f9b3169b2500d8cf0c3b518;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=14ceebfc1efaf5d35153b7f9e2e22b41d4320adb;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 14ceebfc1..5b584dafb 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -36,7 +36,7 @@ struct class_device; struct miscdevice { int minor; const char *name; - struct file_operations *fops; + const struct file_operations *fops; struct list_head list; struct device *dev; struct class_device *class;