X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fchar%2Fds1620.c;h=334ad5bbe6b62a244eed91b9731d121244ea4780;hb=f54496f55a729078e9eef90bf9e0783857a27db1;hp=62cda25724e30d6501870683c53849f5d8e273a5;hpb=5d2a22079c825669d91a3a200332f1053b4b61b0;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/ds1620.c b/drivers/char/ds1620.c index 62cda25724e..334ad5bbe6b 100644 --- a/drivers/char/ds1620.c +++ b/drivers/char/ds1620.c @@ -2,11 +2,8 @@ * linux/drivers/char/ds1620.c: Dallas Semiconductors DS1620 * thermometer driver (as used in the Rebel.com NetWinder) */ -#include #include -#include #include -#include #include #include #include @@ -337,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,