diff options
author | Patrice Chotard <patrice.chotard@stericsson.com> | 2013-01-28 14:23:45 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-02-05 13:54:19 +0100 |
commit | 1aa2d8d4055267462f8943e2a1e6eb2e7034eb25 (patch) | |
tree | e7dcacaf232d5d86f2f69a9cb96cb2247e7c198b /drivers/pinctrl/pinctrl-abx500.h | |
parent | 3c93799378ce0cb13179ba5a28366573028e03cf (diff) | |
download | blackbird-op-linux-1aa2d8d4055267462f8943e2a1e6eb2e7034eb25.tar.gz blackbird-op-linux-1aa2d8d4055267462f8943e2a1e6eb2e7034eb25.zip |
pinctrl/abx500: add AB8505 sub-driver
Add AB8505 sub driver to the ABx5x family.
As the pin controller (also the ABx500 controllers) is an
inherent part of the SoC and will prevent boot if not
available, select this from the Ux500 SoC Kconfig.
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-abx500.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-abx500.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-abx500.h b/drivers/pinctrl/pinctrl-abx500.h index a6c9332d7f82..5c5ac7566d27 100644 --- a/drivers/pinctrl/pinctrl-abx500.h +++ b/drivers/pinctrl/pinctrl-abx500.h @@ -190,4 +190,17 @@ abx500_pinctrl_ab8500_init(struct abx500_pinctrl_soc_data **soc) #endif +#ifdef CONFIG_PINCTRL_AB8505 + +void abx500_pinctrl_ab8505_init(struct abx500_pinctrl_soc_data **soc); + +#else + +static inline void +abx500_pinctrl_ab8505_init(struct abx500_pinctrl_soc_data **soc) +{ +} + +#endif + #endif /* PINCTRL_PINCTRL_ABx500_H */ |