summaryrefslogtreecommitdiff
path: root/target/linux/gemini/patches-3.18/050-gpio-to-irq.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-12 17:55:15 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-12 17:55:15 +0200
commit30cd012860c610ebd7ceef2cdac41aef1bf16aeb (patch)
tree05143631bbc588fd32adfe97881002263361de8f /target/linux/gemini/patches-3.18/050-gpio-to-irq.patch
parent3f1705d7770d6ff42f369ff7856fb047c8b78e42 (diff)
downloadmtk-20170518-30cd012860c610ebd7ceef2cdac41aef1bf16aeb.zip
mtk-20170518-30cd012860c610ebd7ceef2cdac41aef1bf16aeb.tar.gz
mtk-20170518-30cd012860c610ebd7ceef2cdac41aef1bf16aeb.tar.bz2
gemini: delete 3.18 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/gemini/patches-3.18/050-gpio-to-irq.patch')
-rw-r--r--target/linux/gemini/patches-3.18/050-gpio-to-irq.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/gemini/patches-3.18/050-gpio-to-irq.patch b/target/linux/gemini/patches-3.18/050-gpio-to-irq.patch
deleted file mode 100644
index 7572849..0000000
--- a/target/linux/gemini/patches-3.18/050-gpio-to-irq.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/arch/arm/mach-gemini/gpio.c
-+++ b/arch/arm/mach-gemini/gpio.c
-@@ -196,12 +196,18 @@ static int gemini_gpio_direction_output(
- return 0;
- }
-
-+static int gemini_gpio_to_irq(struct gpio_chip *chip, unsigned gpio)
-+{
-+ return gpio + GPIO_IRQ_BASE;
-+}
-+
- static struct gpio_chip gemini_gpio_chip = {
- .label = "Gemini",
- .direction_input = gemini_gpio_direction_input,
- .get = gemini_gpio_get,
- .direction_output = gemini_gpio_direction_output,
- .set = gemini_gpio_set,
-+ .to_irq = gemini_gpio_to_irq,
- .base = 0,
- .ngpio = GPIO_PORT_NUM * 32,
- };