gpio-rcar: Make the platform data gpio_base field signed
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 10 May 2013 14:48:36 +0000 (16:48 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Jun 2013 11:28:36 +0000 (20:28 +0900)
commit36cb0066ffc55fd326c8a21ffe80aaa5bd16021b
treea6104d58fef9551eaa54d9eb52c512fd3198feba
parentc234962b808f289237a40e4ce5fc1c8066d1c9d0
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>
include/linux/platform_data/gpio-rcar.h