summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/core.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-04-21 20:21:57 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-06-05 17:17:13 +0900
commit0c151062f32c9db819c2ca3081d6f98194d61e78 (patch)
tree301b050b24e05fd9e48fbcbe1e21ae6f931a56ee /drivers/pinctrl/sh-pfc/core.h
parent0ccaf5bb3fb6ad8d1fe3464cf269a3225c853c46 (diff)
downloadlinux-0c151062f32c9db819c2ca3081d6f98194d61e78.tar.gz
linux-0c151062f32c9db819c2ca3081d6f98194d61e78.tar.bz2
linux-0c151062f32c9db819c2ca3081d6f98194d61e78.zip
sh-pfc: Add support for SoC-specific initialization
Add two optional init and exit SoC operations and call them from the core at probe and remove time. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/core.h')
-rw-r--r--drivers/pinctrl/sh-pfc/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/core.h b/drivers/pinctrl/sh-pfc/core.h
index e847afbe1f98..f02ba1dde3a0 100644
--- a/drivers/pinctrl/sh-pfc/core.h
+++ b/drivers/pinctrl/sh-pfc/core.h
@@ -28,6 +28,7 @@ struct sh_pfc_pinctrl;
struct sh_pfc {
struct device *dev;
const struct sh_pfc_soc_info *info;
+ void *soc_data;
spinlock_t lock;
unsigned int num_windows;