summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-08-22 12:18:20 +0300
committerRoman Yeryomin <roman@advem.lv>2013-08-22 12:18:20 +0300
commit9e91f368c1efe47d7b703383e9353a1fa4e44b18 (patch)
tree476337cea8dc6deffa985edafb1d9a40761f8014
parente3b02a9e3c7ac380b186563eaf25e690490c6a17 (diff)
fix gpiolib support again
Signed-off-by: Roman Yeryomin <roman@advem.lv>
-rw-r--r--target/linux/realtek/patches-2.6.30/fix-gpiolib-support.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/fix-gpiolib-support.patch b/target/linux/realtek/patches-2.6.30/fix-gpiolib-support.patch
new file mode 100644
index 000000000..bb0b9ab43
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/fix-gpiolib-support.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.30.9/drivers/gpio/gpiolib.c 2013-07-11 17:26:56.283467173 +0300
++++ linux-2.6.30.9/drivers/gpio/gpiolib.c 2013-07-11 17:07:42.298560582 +0300
+@@ -1152,7 +1152,7 @@
+ : "? ");
+
+ if (!is_out) {
+- int irq = gpio_to_irq(gpio);
++ int irq = __gpio_to_irq(gpio);
+ struct irq_desc *desc = irq_to_desc(irq);
+
+ /* This races with request_irq(), set_irq_type(),