aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2012-12-15 17:51:20 -0500
committerSimon Horman <horms+renesas@verge.net.au>2013-01-24 19:24:26 -0500
commit19bb7fe36950ff74ce322cc29f6f4e025999f1f0 (patch)
tree60bfaecf7af2940af44928131cba9054004105e6 /include
parent6e54d8d252ed09ae148af6565971974af9a96e10 (diff)
sh-pfc: Support pinmux info in driver data instead of platform data
Pinmux information should be provided by the pinmux driver, not arch code. Make it possible to do so by supporting pinmux information passed through the driver_data field in the platform ID table. Platform data will remain supported until all arch code has been converted. Rename the sh_pfc_platform_data structure to sh_pfc_soc_info to reflect this. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sh_pfc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sh_pfc.h b/include/linux/sh_pfc.h
index 4f942337d77e..9fd62282c625 100644
--- a/include/linux/sh_pfc.h
+++ b/include/linux/sh_pfc.h
@@ -88,7 +88,7 @@ struct pinmux_range {
88 pinmux_enum_t force; 88 pinmux_enum_t force;
89}; 89};
90 90
91struct sh_pfc_platform_data { 91struct sh_pfc_soc_info {
92 char *name; 92 char *name;
93 pinmux_enum_t reserved_id; 93 pinmux_enum_t reserved_id;
94 struct pinmux_range data; 94 struct pinmux_range data;
@@ -115,7 +115,7 @@ struct sh_pfc_platform_data {
115}; 115};
116 116
117/* XXX compat for now */ 117/* XXX compat for now */
118#define pinmux_info sh_pfc_platform_data 118#define pinmux_info sh_pfc_soc_info
119 119
120enum { GPIO_CFG_DRYRUN, GPIO_CFG_REQ, GPIO_CFG_FREE }; 120enum { GPIO_CFG_DRYRUN, GPIO_CFG_REQ, GPIO_CFG_FREE };
121 121