From: Alexandre Courbot Date: Sat, 16 Nov 2013 12:44:52 +0000 (+0900) Subject: gpiolib: use dedicated flags for GPIO properties X-Git-Tag: v3.13-rc2~10^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53e7cac35db5941f42221314c33693e71ffa496b;p=pandora-kernel.git gpiolib: use dedicated flags for GPIO properties GPIO mapping properties were defined using the GPIOF_* flags, which are declared in linux/gpio.h. This file is not included when using the GPIO descriptor interface. This patch declares the flags that can be used as GPIO mappings properties in linux/gpio/driver.h, and uses them in gpiolib, so that no deprecated declarations are used by the GPIO descriptor interface. This patch also allows GPIO_OPEN_DRAIN and GPIO_OPEN_SOURCE to be specified as GPIO mapping properties. Signed-off-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed