aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-11-20 08:42:47 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-11-21 02:55:22 -0500
commit8604ac34eb19f7b02f8cf22c787fe30d96ad2651 (patch)
tree5706891598ca7c1ebd80741463d1b971c5139d09 /include/linux/platform_data
parent387923c585ac68ff51e6bf673807438b5e5fdaf3 (diff)
pinctrl/u300/coh901: stop spawning pinctrl from GPIO
Let's stop spawning the pinctrl driver from the GPIO driver, we have these two mechanisms broken apart now, and they can each probe in isolation. If the GPIO driver cannot find its pin controller (pinctrl-u300), the pin controller core will tell it to defer probing. Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/pinctrl-coh901.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/platform_data/pinctrl-coh901.h b/include/linux/platform_data/pinctrl-coh901.h
index 27a23b318cef..dfbc65d10484 100644
--- a/include/linux/platform_data/pinctrl-coh901.h
+++ b/include/linux/platform_data/pinctrl-coh901.h
@@ -13,12 +13,10 @@
13 * struct u300_gpio_platform - U300 GPIO platform data 13 * struct u300_gpio_platform - U300 GPIO platform data
14 * @ports: number of GPIO block ports 14 * @ports: number of GPIO block ports
15 * @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)
16 * @pinctrl_device: pin control device to spawn as child
17 */ 16 */
18struct u300_gpio_platform { 17struct u300_gpio_platform {
19 u8 ports; 18 u8 ports;
20 int gpio_base; 19 int gpio_base;
21 struct platform_device *pinctrl_device;
22}; 20};
23 21
24#endif /* __MACH_U300_GPIO_U300_H */ 22#endif /* __MACH_U300_GPIO_U300_H */