@@ -116,6 +116,26 @@ static inline void devm_pinctrl_put(struct pinctrl *p)
{
}
+static inline int pinctrl_pm_select_default_state(struct device *dev)
+{
+ return 0;
+}
+
+static inline int pinctrl_pm_select_active_state(struct device *dev)
+{
+ return 0;
+}
+
+static inline int pinctrl_pm_select_sleep_state(struct device *dev)
+{
+ return 0;
+}
+
+static inline int pinctrl_pm_select_idle_state(struct device *dev)
+{
+ return 0;
+}
+
#endif /* CONFIG_PINCTRL */
static inline struct pinctrl * __must_check pinctrl_get_select(
@@ -223,26 +243,6 @@ static inline int pin_config_group_set(const char *dev_name,
return 0;
}
-static inline int pinctrl_pm_select_default_state(struct device *dev)
-{
- return 0;
-}
-
-static inline int pinctrl_pm_select_active_state(struct device *dev)
-{
- return 0;
-}
-
-static inline int pinctrl_pm_select_sleep_state(struct device *dev)
-{
- return 0;
-}
-
-static inline int pinctrl_pm_select_idle_state(struct device *dev)
-{
- return 0;
-}
-
#endif
#endif /* __LINUX_PINCTRL_CONSUMER_H */