diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-05-10 10:48:36 -0400 |
|---|---|---|
| committer | Simon Horman <horms+renesas@verge.net.au> | 2013-06-04 07:28:36 -0400 |
| commit | 36cb0066ffc55fd326c8a21ffe80aaa5bd16021b (patch) | |
| tree | a6104d58fef9551eaa54d9eb52c512fd3198feba /include/linux/platform_data | |
| parent | c234962b808f289237a40e4ce5fc1c8066d1c9d0 (diff) | |
gpio-rcar: Make the platform data gpio_base field signed
The gpio_base field is used to specify the desired GPIO base for the
GPIO controller. The GPIO core can automatically allocate a GPIO number
range when the base is set to -1. To make this possible, make the field
signed.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/gpio-rcar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/gpio-rcar.h b/include/linux/platform_data/gpio-rcar.h index b253f77a7ddf..aba7079ccc95 100644 --- a/include/linux/platform_data/gpio-rcar.h +++ b/include/linux/platform_data/gpio-rcar.h | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | #define __GPIO_RCAR_H__ | 17 | #define __GPIO_RCAR_H__ |
| 18 | 18 | ||
| 19 | struct gpio_rcar_config { | 19 | struct gpio_rcar_config { |
| 20 | unsigned int gpio_base; | 20 | int gpio_base; |
| 21 | unsigned int irq_base; | 21 | unsigned int irq_base; |
| 22 | unsigned int number_of_pins; | 22 | unsigned int number_of_pins; |
| 23 | const char *pctl_name; | 23 | const char *pctl_name; |
