]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hwmon/ams/ams.h
powerpc/drivers: Use linux/of_device.h instead of asm/of_device.h
[linux-2.6-omap-h63xx.git] / drivers / hwmon / ams / ams.h
index 240730e6bcde1c98f0b67862d8fb928c0d0d9ff9..221ef6915a5f74ec06a6ab4e7969f17ae3e90d4b 100644 (file)
@@ -1,10 +1,10 @@
 #include <linux/i2c.h>
-#include <linux/input.h>
+#include <linux/input-polldev.h>
 #include <linux/kthread.h>
 #include <linux/mutex.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
-#include <asm/of_device.h>
+#include <linux/of_device.h>
 
 enum ams_irq {
        AMS_IRQ_FREEFALL = 0x01,
@@ -52,8 +52,7 @@ struct ams {
 #endif
 
        /* Joystick emulation */
-       struct task_struct *kthread;
-       struct input_dev *idev;
+       struct input_polled_dev *idev;
        __u16 bustype;
 
        /* calibrated null values */