]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/i2c/twl4030.h
i2c: move twl4030_keypad to new style registration
[linux-2.6-omap-h63xx.git] / include / linux / i2c / twl4030.h
index 2434ad0a897e03622d452513a4ee81ad0f9f125d..0ac417cec3aa7813d07a9ee1eb4ba76dc0e3338b 100644 (file)
 #define TWL4030_MODULE_RTC             0x14
 #define TWL4030_MODULE_SECURED_REG     0x15
 
+struct twl4030_keypad_data {
+       int rows;
+       int cols;
+       int *keymap;
+       int irq;
+       unsigned int keymapsize;
+       unsigned int rep:1;
+};
+
 struct twl4030_platform_data {
        unsigned        irq_base, irq_end;
+       struct twl4030_keypad_data *keypad;
 
        /* REVISIT more to come ... _nothing_ should be hard-wired */
 };