diff options
Diffstat (limited to 'include/linux/pinctrl/pinconf.h')
-rw-r--r-- | include/linux/pinctrl/pinconf.h | 16 |
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 | ||
56 | extern int pin_config_get(struct pinctrl_dev *pctldev, const char *name, | 56 | extern int pin_config_get(const char *dev_name, const char *name, |
57 | unsigned long *config); | 57 | unsigned long *config); |
58 | extern int pin_config_set(struct pinctrl_dev *pctldev, const char *name, | 58 | extern int pin_config_set(const char *dev_name, const char *name, |
59 | unsigned long config); | 59 | unsigned long config); |
60 | extern int pin_config_group_get(struct pinctrl_dev *pctldev, | 60 | extern 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); |
63 | extern int pin_config_group_set(struct pinctrl_dev *pctldev, | 63 | extern 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 | ||
69 | static inline int pin_config_get(struct pinctrl_dev *pctldev, const char *name, | 69 | static 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 | ||
75 | static inline int pin_config_set(struct pinctrl_dev *pctldev, const char *name, | 75 | static 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 | ||
81 | static inline int pin_config_group_get(struct pinctrl_dev *pctldev, | 81 | static 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 | ||
88 | static inline int pin_config_group_set(struct pinctrl_dev *pctldev, | 88 | static 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 | { |