commit:     f2dffc7244ec86ad41fde2ee164a4082c974ade5
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 17:56:11 2015 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 17:56:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=f2dffc72

Patch to select REGMAP_IRQ for rt5033 mfd driver. See bug #546938.

 0000_README                             |  6 +++++-
 2600_select-REGMAP_IRQ-for-rt5033.patch | 30 ++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/0000_README b/0000_README
index ca06e06..0cdee6d 100644
--- a/0000_README
+++ b/0000_README
@@ -49,7 +49,11 @@ Desc:   Support for namespace user.pax.* on tmpfs.
 
 Patch:  1510_fs-enable-link-security-restrictions-by-default.patch
 From:   
http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/
-Desc:   Enable link security restrictions by default
+Desc:   Enable link security restrictions by default.
+
+Patch:  2600_select-REGMAP_IRQ-for-rt5033.patch
+From:   http://git.kernel.org/
+Desc:   mfd: rt5033: MFD_RT5033 needs to select REGMAP_IRQ. See bug #546938.
 
 Patch:  2700_ThinkPad-30-brightness-control-fix.patch
 From:   Seth Forshee <seth.fors...@canonical.com>

diff --git a/2600_select-REGMAP_IRQ-for-rt5033.patch 
b/2600_select-REGMAP_IRQ-for-rt5033.patch
new file mode 100644
index 0000000..92fb2e0
--- /dev/null
+++ b/2600_select-REGMAP_IRQ-for-rt5033.patch
@@ -0,0 +1,30 @@
+From 23a2a22a3f3f17de094f386a893f7047c10e44a0 Mon Sep 17 00:00:00 2001
+From: Artem Savkov <asav...@redhat.com>
+Date: Thu, 5 Mar 2015 12:42:27 +0100
+Subject: mfd: rt5033: MFD_RT5033 needs to select REGMAP_IRQ
+
+Since commit 0b2712585(linux-next.git) this driver uses regmap_irq and so needs
+to select REGMAP_IRQ.
+
+This fixes the following compilation errors:
+ERROR: "regmap_irq_get_domain" [drivers/mfd/rt5033.ko] undefined!
+ERROR: "regmap_add_irq_chip" [drivers/mfd/rt5033.ko] undefined!
+
+Signed-off-by: Artem Savkov <asav...@redhat.com>
+Signed-off-by: Lee Jones <lee.jo...@linaro.org>
+
+diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
+index f8ef77d9a..f49f404 100644
+--- a/drivers/mfd/Kconfig
++++ b/drivers/mfd/Kconfig
+@@ -680,6 +680,7 @@ config MFD_RT5033
+       depends on I2C=y
+       select MFD_CORE
+       select REGMAP_I2C
++      select REGMAP_IRQ
+       help
+         This driver provides for the Richtek RT5033 Power Management IC,
+         which includes the I2C driver and the Core APIs. This driver provides
+-- 
+cgit v0.10.2
+

Reply via email to