diff options
author | Marek Belisko <marek.belisko@open-nandra.com> | 2011-10-31 21:27:52 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-01-03 09:10:00 +0100 |
commit | 33d58949adee5086478e140751e4a7263bd7e207 (patch) | |
tree | d455c04d00fc59f4ecce9e88b99b5d25f683431b /drivers/pinctrl/core.h | |
parent | 336cdba09a5df706402628fb20b7660d186aff6c (diff) |
pinctrl: unify pin type from signed to unsigned
We want singned pins to mean "invalid" only on the outside
of the subsystem.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.h')
-rw-r--r-- | drivers/pinctrl/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev, const char *dev_name); -struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, int pin); +struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, unsigned int pin); int pinctrl_get_device_gpio_range(unsigned gpio, struct pinctrl_dev **outdev, struct pinctrl_gpio_range **outrange); |