diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-10-05 15:12:57 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-10-05 15:12:57 +0200 |
commit | 4c70e54c07e139098527e3f7f19c970082411177 (patch) | |
tree | 2b635bc4931c88a0846f2621ca239d1b13684b4a /target/linux/gemini/patches-4.4/050-gpio-to-irq.patch | |
parent | 823f6dd12fef61c9af196505f88f039ed84f9548 (diff) | |
download | master-187ad058-4c70e54c07e139098527e3f7f19c970082411177.tar.gz master-187ad058-4c70e54c07e139098527e3f7f19c970082411177.tar.bz2 master-187ad058-4c70e54c07e139098527e3f7f19c970082411177.zip |
gemini: drop Linux 4.1 support
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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.patch | 21 |
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, - }; |