summaryrefslogtreecommitdiff
path: root/target/linux/gemini/patches-4.1/050-gpio-to-irq.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-08-22 17:35:47 +0200
committerJo-Philipp Wich <jo@mein.io>2016-08-23 15:41:27 +0200
commit58df34b5e14d82d43c76c1c7140a04e515297261 (patch)
tree13ce4ab2e122c4dc7da40f51aa147a5c8b59761c /target/linux/gemini/patches-4.1/050-gpio-to-irq.patch
parentf046737e92f9a13acbe9139e1ded83287d31eeb5 (diff)
downloadmtk-20170518-58df34b5e14d82d43c76c1c7140a04e515297261.zip
mtk-20170518-58df34b5e14d82d43c76c1c7140a04e515297261.tar.gz
mtk-20170518-58df34b5e14d82d43c76c1c7140a04e515297261.tar.bz2
gemini: drop Linux 4.1 support
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/gemini/patches-4.1/050-gpio-to-irq.patch')
-rw-r--r--target/linux/gemini/patches-4.1/050-gpio-to-irq.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/gemini/patches-4.1/050-gpio-to-irq.patch b/target/linux/gemini/patches-4.1/050-gpio-to-irq.patch
deleted file mode 100644
index 7572849..0000000
--- a/target/linux/gemini/patches-4.1/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,
- };