X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Fds1620.c;h=334ad5bbe6b62a244eed91b9731d121244ea4780;hb=f57e91682d141ea50d8c6d42cdc251b6256a3755;hp=953e670dcd09ce0e17590bdd0c1983de1d356d86;hpb=026477c1141b67e98e3bd8bdedb7d4b88a3ecd09;p=linux-2.6 diff --git a/drivers/char/ds1620.c b/drivers/char/ds1620.c index 953e670dcd..334ad5bbe6 100644 --- a/drivers/char/ds1620.c +++ b/drivers/char/ds1620.c @@ -3,9 +3,7 @@ * thermometer driver (as used in the Rebel.com NetWinder) */ #include -#include #include -#include #include #include #include @@ -336,7 +334,7 @@ proc_therm_ds1620_read(char *buf, char **start, off_t offset, static struct proc_dir_entry *proc_therm_ds1620; #endif -static struct file_operations ds1620_fops = { +static const struct file_operations ds1620_fops = { .owner = THIS_MODULE, .open = nonseekable_open, .read = ds1620_read,