]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/ds1620.c
HID: refactor mapping to input subsystem for quirky devices
[linux-2.6-omap-h63xx.git] / drivers / char / ds1620.c
index 953e670dcd09ce0e17590bdd0c1983de1d356d86..334ad5bbe6b62a244eed91b9731d121244ea4780 100644 (file)
@@ -3,9 +3,7 @@
  *   thermometer driver (as used in the Rebel.com NetWinder)
  */
 #include <linux/module.h>
-#include <linux/sched.h>
 #include <linux/miscdevice.h>
-#include <linux/smp_lock.h>
 #include <linux/delay.h>
 #include <linux/proc_fs.h>
 #include <linux/capability.h>
@@ -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,