aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.4/locomo/0035-mfd-ucb1x00-add-irq-field-to-the-platform-data.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.4/locomo/0035-mfd-ucb1x00-add-irq-field-to-the-platform-data.patch')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.4/locomo/0035-mfd-ucb1x00-add-irq-field-to-the-platform-data.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.4/locomo/0035-mfd-ucb1x00-add-irq-field-to-the-platform-data.patch b/recipes-kernel/linux/linux-handheld-4.4/locomo/0035-mfd-ucb1x00-add-irq-field-to-the-platform-data.patch
new file mode 100644
index 0000000..b2177a2
--- /dev/null
+++ b/recipes-kernel/linux/linux-handheld-4.4/locomo/0035-mfd-ucb1x00-add-irq-field-to-the-platform-data.patch
@@ -0,0 +1,28 @@
+From 67fb433a040d0b4490a55e83d74d23c0fd1ae970 Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Sat, 15 Nov 2014 14:16:15 +0300
+Subject: [PATCH 35/44] mfd: ucb1x00: add irq field to the platform data
+
+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@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 {
+--
+1.9.1
+