diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-08-13 04:56:43 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-08-13 07:53:05 -0400 |
commit | 651728507140246e9cf4e809f1877cb2eddbc84e (patch) | |
tree | 9e500495fe09b0a3b611f574d3e308bde4008b70 /arch/arm/mach-u300 | |
parent | 04b13de6229621b2bd9eb1b7afaded954c3037de (diff) |
pinctrl/coh901: move header to platform data dir
Move the platform-specific COH901 pin control header out of the
ARM tree and down into the proper platform data include
directory.
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 | 2 | ||||
-rw-r--r-- | arch/arm/mach-u300/include/mach/gpio-u300.h | 26 |
2 files changed, 1 insertions, 27 deletions
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 883d5c26d50b..0158189a4dab 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/pinctrl/pinconf-generic.h> | 31 | #include <linux/pinctrl/pinconf-generic.h> |
32 | #include <linux/dma-mapping.h> | 32 | #include <linux/dma-mapping.h> |
33 | #include <linux/platform_data/clk-u300.h> | 33 | #include <linux/platform_data/clk-u300.h> |
34 | #include <linux/platform_data/pinctrl-coh901.h> | ||
34 | 35 | ||
35 | #include <asm/types.h> | 36 | #include <asm/types.h> |
36 | #include <asm/setup.h> | 37 | #include <asm/setup.h> |
@@ -43,7 +44,6 @@ | |||
43 | #include <mach/hardware.h> | 44 | #include <mach/hardware.h> |
44 | #include <mach/syscon.h> | 45 | #include <mach/syscon.h> |
45 | #include <mach/dma_channels.h> | 46 | #include <mach/dma_channels.h> |
46 | #include <mach/gpio-u300.h> | ||
47 | 47 | ||
48 | #include "spi.h" | 48 | #include "spi.h" |
49 | #include "i2c.h" | 49 | #include "i2c.h" |
diff --git a/arch/arm/mach-u300/include/mach/gpio-u300.h b/arch/arm/mach-u300/include/mach/gpio-u300.h deleted file mode 100644 index 30dea251b835..000000000000 --- a/arch/arm/mach-u300/include/mach/gpio-u300.h +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2012 ST-Ericsson AB | ||
3 | * License terms: GNU General Public License (GPL) version 2 | ||
4 | * GPIO block resgister definitions and inline macros for | ||
5 | * U300 GPIO COH 901 335 or COH 901 571/3 | ||
6 | * Author: Linus Walleij <linus.walleij@stericsson.com> | ||
7 | */ | ||
8 | |||
9 | #ifndef __MACH_U300_GPIO_U300_H | ||
10 | #define __MACH_U300_GPIO_U300_H | ||
11 | |||
12 | /** | ||
13 | * struct u300_gpio_platform - U300 GPIO platform data | ||
14 | * @ports: number of GPIO block ports | ||
15 | * @gpio_base: first GPIO number for this block (use a free range) | ||
16 | * @gpio_irq_base: first GPIO IRQ number for this block (use a free range) | ||
17 | * @pinctrl_device: pin control device to spawn as child | ||
18 | */ | ||
19 | struct u300_gpio_platform { | ||
20 | u8 ports; | ||
21 | int gpio_base; | ||
22 | int gpio_irq_base; | ||
23 | struct platform_device *pinctrl_device; | ||
24 | }; | ||
25 | |||
26 | #endif /* __MACH_U300_GPIO_U300_H */ | ||