]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 22 May 2013 14:22:12 +0000 (23:22 +0900)
commitfe472504fea790fd293d28678bb2cc7c49a2d602
tree9075689a1a7d682f83fb973ad9d9fdc4ebd41edc
parentf2886f860ea62c53d4b2056b290c93450ac8a44d
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