From 41a7bf5c1380ec3b9cd37b427772213d3d799522 Mon Sep 17 00:00:00 2001 From: "G, Manjunath Kondaiah" Date: Tue, 19 Oct 2010 11:02:48 +0200 Subject: [PATCH] --- yaml --- r: 220627 b: refs/heads/master c: b0b4a7c28ebee0763cae90d470cfff501a83be37 h: refs/heads/master i: 220625: fe74bdda74b39555c20f26a14edc7832c35ea991 220623: b1ece32603953586a36e039134745021896df109 v: v3 --- [refs] | 2 +- trunk/drivers/mfd/twl-core.h | 10 ++++++++++ trunk/drivers/mfd/twl4030-irq.c | 1 + trunk/drivers/mfd/twl6030-irq.c | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 trunk/drivers/mfd/twl-core.h diff --git a/[refs] b/[refs] index c51ff048972f..d85c967a4e8b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 50f19a45961ffa0445db02777ad9342119ceb2aa +refs/heads/master: b0b4a7c28ebee0763cae90d470cfff501a83be37 diff --git a/trunk/drivers/mfd/twl-core.h b/trunk/drivers/mfd/twl-core.h new file mode 100644 index 000000000000..8c50a556e986 --- /dev/null +++ b/trunk/drivers/mfd/twl-core.h @@ -0,0 +1,10 @@ +#ifndef __TWL_CORE_H__ +#define __TWL_CORE_H__ + +extern int twl6030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end); +extern int twl6030_exit_irq(void); +extern int twl4030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end); +extern int twl4030_exit_irq(void); +extern int twl4030_init_chip_irq(const char *chip); + +#endif /* __TWL_CORE_H__ */ diff --git a/trunk/drivers/mfd/twl4030-irq.c b/trunk/drivers/mfd/twl4030-irq.c index 381ab26e92a3..5d3a1478004b 100644 --- a/trunk/drivers/mfd/twl4030-irq.c +++ b/trunk/drivers/mfd/twl4030-irq.c @@ -35,6 +35,7 @@ #include +#include "twl-core.h" /* * TWL4030 IRQ handling has two stages in hardware, and thus in software. diff --git a/trunk/drivers/mfd/twl6030-irq.c b/trunk/drivers/mfd/twl6030-irq.c index 2d3bb82dbf24..aaedb11d9d2c 100644 --- a/trunk/drivers/mfd/twl6030-irq.c +++ b/trunk/drivers/mfd/twl6030-irq.c @@ -38,6 +38,8 @@ #include #include +#include "twl-core.h" + /* * TWL6030 (unlike its predecessors, which had two level interrupt handling) * three interrupt registers INT_STS_A, INT_STS_B and INT_STS_C.