]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pinctrl: export pinctrl_pm_select_*_state
authorArnd Bergmann <arnd@arndb.de>
Mon, 17 Jun 2013 15:12:28 +0000 (17:12 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 16:29:32 +0000 (18:29 +0200)
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>
drivers/pinctrl/core.c

index 33710b5e7bb5b47f134401cfaec7ca333bab85f5..32eb7e2a3f340e3c3fb24dd11647039e72c90580 100644 (file)
@@ -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