diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-17 11:12:28 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 12:29:32 -0400 |
commit | f472deadd541f35fb002c033b76b645130705e7d (patch) | |
tree | 26ff84da8ce31a3a3558a3395ed35eebdd1f9141 /drivers/pinctrl/core.c | |
parent | 44b6d93043ab6775cb8e190a82ae79afd121e944 (diff) |
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) | |||
1245 | dev_err(dev, "failed to activate default pinctrl state\n"); | 1245 | dev_err(dev, "failed to activate default pinctrl state\n"); |
1246 | return ret; | 1246 | return ret; |
1247 | } | 1247 | } |
1248 | EXPORT_SYMBOL_GPL(pinctrl_pm_select_default_state); | ||
1248 | 1249 | ||
1249 | /** | 1250 | /** |
1250 | * pinctrl_pm_select_sleep_state() - select sleep pinctrl state for PM | 1251 | * pinctrl_pm_select_sleep_state() - select sleep pinctrl state for PM |
@@ -1264,6 +1265,7 @@ int pinctrl_pm_select_sleep_state(struct device *dev) | |||
1264 | dev_err(dev, "failed to activate pinctrl sleep state\n"); | 1265 | dev_err(dev, "failed to activate pinctrl sleep state\n"); |
1265 | return ret; | 1266 | return ret; |
1266 | } | 1267 | } |
1268 | EXPORT_SYMBOL_GPL(pinctrl_pm_select_sleep_state); | ||
1267 | 1269 | ||
1268 | /** | 1270 | /** |
1269 | * pinctrl_pm_select_idle_state() - select idle pinctrl state for PM | 1271 | * pinctrl_pm_select_idle_state() - select idle pinctrl state for PM |
@@ -1283,7 +1285,7 @@ int pinctrl_pm_select_idle_state(struct device *dev) | |||
1283 | dev_err(dev, "failed to activate pinctrl idle state\n"); | 1285 | dev_err(dev, "failed to activate pinctrl idle state\n"); |
1284 | return ret; | 1286 | return ret; |
1285 | } | 1287 | } |
1286 | 1288 | EXPORT_SYMBOL_GPL(pinctrl_pm_select_idle_state); | |
1287 | #endif | 1289 | #endif |
1288 | 1290 | ||
1289 | #ifdef CONFIG_DEBUG_FS | 1291 | #ifdef CONFIG_DEBUG_FS |