summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorGraeme Gregory <gg@slimlogic.co.uk>2011-05-12 14:27:56 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 19:45:40 +0200
commit6523b148b44be38d89c2ee9865d34da30d9f5f1c (patch)
treeaa4408d8655093167289092b62c057122dd8a51d /include/linux/i2c
parent521d8ec3f0d8069bea3b3afa70f487cdb5118018 (diff)
downloadtalos-obmc-linux-6523b148b44be38d89c2ee9865d34da30d9f5f1c.tar.gz
talos-obmc-linux-6523b148b44be38d89c2ee9865d34da30d9f5f1c.zip
mfd: Fix twl6030 irq definitions
The charger fault IRQs from the twl will in future patches be handled by a seperate IRQ handler in the charger driver than the general charger IRQ. Give them different IRQ numbers now to allow the charger driver to be merged in the future. Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/twl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index d70e704cbbb6..ba4f88624fcd 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -91,6 +91,7 @@
#define BCI_INTR_OFFSET 2
#define MADC_INTR_OFFSET 3
#define USB_INTR_OFFSET 4
+#define CHARGERFAULT_INTR_OFFSET 5
#define BCI_PRES_INTR_OFFSET 9
#define USB_PRES_INTR_OFFSET 10
#define RTC_INTR_OFFSET 11
OpenPOWER on IntegriCloud