summaryrefslogtreecommitdiff
path: root/include/linux/pinctrl/devinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pinctrl/devinfo.h')
-rw-r--r--include/linux/pinctrl/devinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pinctrl/devinfo.h b/include/linux/pinctrl/devinfo.h
index 6e5f8a985ea7..281cb91ddcf5 100644
--- a/include/linux/pinctrl/devinfo.h
+++ b/include/linux/pinctrl/devinfo.h
@@ -28,6 +28,10 @@
struct dev_pin_info {
struct pinctrl *p;
struct pinctrl_state *default_state;
+#ifdef CONFIG_PM
+ struct pinctrl_state *sleep_state;
+ struct pinctrl_state *idle_state;
+#endif
};
extern int pinctrl_bind_pins(struct device *dev);