]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/i2c/twl4030.h
twl4030: new-style driver conversion
[linux-2.6-omap-h63xx.git] / include / linux / i2c / twl4030.h
index 00e14fc37f4416d0f490ca7e156e34dc3ad969bf..2434ad0a897e03622d452513a4ee81ad0f9f125d 100644 (file)
 #define TWL4030_MODULE_RTC             0x14
 #define TWL4030_MODULE_SECURED_REG     0x15
 
+struct twl4030_platform_data {
+       unsigned        irq_base, irq_end;
+
+       /* REVISIT more to come ... _nothing_ should be hard-wired */
+};
+
+/*
+ * FIXME completely stop using TWL4030_IRQ_BASE ... instead, pass the
+ * IRQ data to subsidiary devices using platform device resources.
+ */
+
 /* IRQ information-need base */
 #include <mach/irqs.h>
 /* TWL4030 interrupts */