[PATCH 1/3] mfd: ucb1x00: add irq field to the platform data

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Thu Apr 2 08:41:45 PDT 2015


To allow boards to specify the irq that is used by UCB1x00 chip, add irq
field to the platform data structure.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
 include/linux/mfd/ucb1x00.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h
index e1345ff..9a2dacb 100644
--- a/include/linux/mfd/ucb1x00.h
+++ b/include/linux/mfd/ucb1x00.h
@@ -118,6 +118,7 @@ struct ucb1x00_plat_data {
 	unsigned		irq_base;
 	int			gpio_base;
 	unsigned		can_wakeup;
+	int			irq;
 };
 
 struct ucb1x00 {
-- 
2.1.4




More information about the linux-arm-kernel mailing list