summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sh-pfc/core.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-04-21 18:21:57 (GMT)
committerSimon Horman <horms+renesas@verge.net.au>2013-06-05 08:17:13 (GMT)
commit0c151062f32c9db819c2ca3081d6f98194d61e78 (patch)
tree301b050b24e05fd9e48fbcbe1e21ae6f931a56ee /drivers/pinctrl/sh-pfc/core.h
parent0ccaf5bb3fb6ad8d1fe3464cf269a3225c853c46 (diff)
downloadlinux-0c151062f32c9db819c2ca3081d6f98194d61e78.tar.xz
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 e847afb..f02ba1d 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;