aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pinctrl/pinconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pinctrl/pinconf.h')
-rw-r--r--include/linux/pinctrl/pinconf.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/pinctrl/pinconf.h b/include/linux/pinctrl/pinconf.h
index 8c2c88ed46b1..477922cf043a 100644
--- a/include/linux/pinctrl/pinconf.h
+++ b/include/linux/pinctrl/pinconf.h
@@ -53,39 +53,39 @@ struct pinconf_ops {
53 unsigned selector); 53 unsigned selector);
54}; 54};
55 55
56extern int pin_config_get(struct pinctrl_dev *pctldev, const char *name, 56extern int pin_config_get(const char *dev_name, const char *name,
57 unsigned long *config); 57 unsigned long *config);
58extern int pin_config_set(struct pinctrl_dev *pctldev, const char *name, 58extern int pin_config_set(const char *dev_name, const char *name,
59 unsigned long config); 59 unsigned long config);
60extern int pin_config_group_get(struct pinctrl_dev *pctldev, 60extern int pin_config_group_get(const char *dev_name,
61 const char *pin_group, 61 const char *pin_group,
62 unsigned long *config); 62 unsigned long *config);
63extern int pin_config_group_set(struct pinctrl_dev *pctldev, 63extern int pin_config_group_set(const char *dev_name,
64 const char *pin_group, 64 const char *pin_group,
65 unsigned long config); 65 unsigned long config);
66 66
67#else 67#else
68 68
69static inline int pin_config_get(struct pinctrl_dev *pctldev, const char *name, 69static inline int pin_config_get(const char *dev_name, const char *name,
70 unsigned long *config) 70 unsigned long *config)
71{ 71{
72 return 0; 72 return 0;
73} 73}
74 74
75static inline int pin_config_set(struct pinctrl_dev *pctldev, const char *name, 75static inline int pin_config_set(const char *dev_name, const char *name,
76 unsigned long config) 76 unsigned long config)
77{ 77{
78 return 0; 78 return 0;
79} 79}
80 80
81static inline int pin_config_group_get(struct pinctrl_dev *pctldev, 81static inline int pin_config_group_get(const char *dev_name,
82 const char *pin_group, 82 const char *pin_group,
83 unsigned long *config) 83 unsigned long *config)
84{ 84{
85 return 0; 85 return 0;
86} 86}
87 87
88static inline int pin_config_group_set(struct pinctrl_dev *pctldev, 88static inline int pin_config_group_set(const char *dev_name,
89 const char *pin_group, 89 const char *pin_group,
90 unsigned long config) 90 unsigned long config)
91{ 91{