]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - include/linux/gpio.h
gpio: add flags to export GPIOs when requesting
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 13 Dec 2011 17:34:01 +0000 (18:34 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 6 Apr 2012 04:24:06 +0000 (21:24 -0700)
commitfc3a1f04f5040255cbc086c419e4237f29f89f88
tree3ece85d636a3ceeffb157b77ee51b4745cbdf2d9
parentdd775ae2549217d3ae09363e3edb305d0fa19928
gpio: add flags to export GPIOs when requesting

Introduce new flags to automatically export GPIOs when using the convenience
functions gpio_request_one() or gpio_request_array(). This eases support for
custom boards where lots of GPIOs need to be exported for customer
applications.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/gpio.txt
drivers/gpio/gpiolib.c
include/linux/gpio.h