diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-17 17:12:28 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 18:29:32 +0200 |
commit | f472deadd541f35fb002c033b76b645130705e7d (patch) | |
tree | 26ff84da8ce31a3a3558a3395ed35eebdd1f9141 /drivers/pinctrl/core.c | |
parent | 44b6d93043ab6775cb8e190a82ae79afd121e944 (diff) | |
download | linux-f472deadd541f35fb002c033b76b645130705e7d.tar.gz linux-f472deadd541f35fb002c033b76b645130705e7d.tar.bz2 linux-f472deadd541f35fb002c033b76b645130705e7d.zip |
pinctrl: export pinctrl_pm_select_*_state
The three functions pinctrl_pm_select_default_state,
pinctrl_pm_select_sleep_state, and pinctrl_pm_select_idle_state
are used in drivers that can be loadable modules, and should
be exported.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.c')
-rw-r--r-- | drivers/pinctrl/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 33710b5e7bb5..32eb7e2a3f34 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c @@ -1245,6 +1245,7 @@ int pinctrl_pm_select_default_state(struct device *dev) dev_err(dev, "failed to activate default pinctrl state\n"); return ret; } +EXPORT_SYMBOL_GPL(pinctrl_pm_select_default_state); /** * pinctrl_pm_select_sleep_state() - select sleep pinctrl state for PM @@ -1264,6 +1265,7 @@ int pinctrl_pm_select_sleep_state(struct device *dev) dev_err(dev, "failed to activate pinctrl sleep state\n"); return ret; } +EXPORT_SYMBOL_GPL(pinctrl_pm_select_sleep_state); /** * pinctrl_pm_select_idle_state() - select idle pinctrl state for PM @@ -1283,7 +1285,7 @@ int pinctrl_pm_select_idle_state(struct device *dev) dev_err(dev, "failed to activate pinctrl idle state\n"); return ret; } - +EXPORT_SYMBOL_GPL(pinctrl_pm_select_idle_state); #endif #ifdef CONFIG_DEBUG_FS |