diff options
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/core.c | 2 | ||||
-rw-r--r-- | drivers/pinctrl/core.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 9970590006d1..678216652bc0 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c | |||
@@ -88,7 +88,7 @@ struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev, | |||
88 | return found ? pctldev : NULL; | 88 | return found ? pctldev : NULL; |
89 | } | 89 | } |
90 | 90 | ||
91 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, int pin) | 91 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, unsigned int pin) |
92 | { | 92 | { |
93 | struct pin_desc *pindesc; | 93 | struct pin_desc *pindesc; |
94 | unsigned long flags; | 94 | unsigned long flags; |
diff --git a/drivers/pinctrl/core.h b/drivers/pinctrl/core.h index dcc6d687b653..74dee439dcf0 100644 --- a/drivers/pinctrl/core.h +++ b/drivers/pinctrl/core.h | |||
@@ -65,7 +65,7 @@ struct pin_desc { | |||
65 | 65 | ||
66 | struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev, | 66 | struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev, |
67 | const char *dev_name); | 67 | const char *dev_name); |
68 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, int pin); | 68 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, unsigned int pin); |
69 | int pinctrl_get_device_gpio_range(unsigned gpio, | 69 | int pinctrl_get_device_gpio_range(unsigned gpio, |
70 | struct pinctrl_dev **outdev, | 70 | struct pinctrl_dev **outdev, |
71 | struct pinctrl_gpio_range **outrange); | 71 | struct pinctrl_gpio_range **outrange); |