aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches-4.4/050-gpio-to-irq.patch
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2018-04-29 19:13:31 +0300
committerJohn Crispin <john@phrozen.org>2018-05-05 06:57:00 +0200
commit91930c0f99fedf6841ab5666ef5a26caa5b0790d (patch)
tree1ed02b16def8164b5789f31ce534c16b8364de7a /target/linux/gemini/patches-4.4/050-gpio-to-irq.patch
parent6409b159e8b84e172da7755088d587ccd99103ab (diff)
downloadupstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.tar.gz
upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.tar.bz2
upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.zip
gemini: remove 4.4 support
Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/gemini/patches-4.4/050-gpio-to-irq.patch')
-rw-r--r--target/linux/gemini/patches-4.4/050-gpio-to-irq.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/gemini/patches-4.4/050-gpio-to-irq.patch b/target/linux/gemini/patches-4.4/050-gpio-to-irq.patch
deleted file mode 100644
index 7572849864..0000000000
--- a/target/linux/gemini/patches-4.4/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,
- };