diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-08-13 04:36:55 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-08-13 07:53:05 -0400 |
commit | 04b13de6229621b2bd9eb1b7afaded954c3037de (patch) | |
tree | 8048c02ae7b111c165acd51c99bd3a361c1221bc /arch/arm/mach-u300 | |
parent | fcb28d2e9db7f1fc146a6e95200f166a86224066 (diff) |
pinctrl/coh901: retire ancient GPIO block versions
As the non-U335 U300 variants are retired from the ARM tree,
also delete the pinctrl driver codepaths for these variants.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r-- | arch/arm/mach-u300/core.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-u300/include/mach/gpio-u300.h | 13 |
2 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 17940754446e..883d5c26d50b 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -1440,7 +1440,6 @@ static struct platform_device pinctrl_device = { | |||
1440 | * GPIO block, with different number of ports. | 1440 | * GPIO block, with different number of ports. |
1441 | */ | 1441 | */ |
1442 | static struct u300_gpio_platform u300_gpio_plat = { | 1442 | static struct u300_gpio_platform u300_gpio_plat = { |
1443 | .variant = U300_GPIO_COH901571_3_BS335, | ||
1444 | .ports = 7, | 1443 | .ports = 7, |
1445 | .gpio_base = 0, | 1444 | .gpio_base = 0, |
1446 | .gpio_irq_base = IRQ_U300_GPIO_BASE, | 1445 | .gpio_irq_base = IRQ_U300_GPIO_BASE, |
diff --git a/arch/arm/mach-u300/include/mach/gpio-u300.h b/arch/arm/mach-u300/include/mach/gpio-u300.h index e81400c1753a..30dea251b835 100644 --- a/arch/arm/mach-u300/include/mach/gpio-u300.h +++ b/arch/arm/mach-u300/include/mach/gpio-u300.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2007-2011 ST-Ericsson AB | 2 | * Copyright (C) 2007-2012 ST-Ericsson AB |
3 | * License terms: GNU General Public License (GPL) version 2 | 3 | * License terms: GNU General Public License (GPL) version 2 |
4 | * GPIO block resgister definitions and inline macros for | 4 | * GPIO block resgister definitions and inline macros for |
5 | * U300 GPIO COH 901 335 or COH 901 571/3 | 5 | * U300 GPIO COH 901 335 or COH 901 571/3 |
@@ -10,24 +10,13 @@ | |||
10 | #define __MACH_U300_GPIO_U300_H | 10 | #define __MACH_U300_GPIO_U300_H |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * enum u300_gpio_variant - the type of U300 GPIO employed | ||
14 | */ | ||
15 | enum u300_gpio_variant { | ||
16 | U300_GPIO_COH901335, | ||
17 | U300_GPIO_COH901571_3_BS335, | ||
18 | U300_GPIO_COH901571_3_BS365, | ||
19 | }; | ||
20 | |||
21 | /** | ||
22 | * struct u300_gpio_platform - U300 GPIO platform data | 13 | * struct u300_gpio_platform - U300 GPIO platform data |
23 | * @variant: IP block variant | ||
24 | * @ports: number of GPIO block ports | 14 | * @ports: number of GPIO block ports |
25 | * @gpio_base: first GPIO number for this block (use a free range) | 15 | * @gpio_base: first GPIO number for this block (use a free range) |
26 | * @gpio_irq_base: first GPIO IRQ number for this block (use a free range) | 16 | * @gpio_irq_base: first GPIO IRQ number for this block (use a free range) |
27 | * @pinctrl_device: pin control device to spawn as child | 17 | * @pinctrl_device: pin control device to spawn as child |
28 | */ | 18 | */ |
29 | struct u300_gpio_platform { | 19 | struct u300_gpio_platform { |
30 | enum u300_gpio_variant variant; | ||
31 | u8 ports; | 20 | u8 ports; |
32 | int gpio_base; | 21 | int gpio_base; |
33 | int gpio_irq_base; | 22 | int gpio_irq_base; |