summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-max7300.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-24 15:24:10 +0200
committerGrant Likely <grant.likely@secretlab.ca>2011-10-24 16:04:06 +0200
commitfeb836992437c9b8b53988da30880e0e6e93ac8b (patch)
tree1fa88109514310e32112acd017c1c506d13444b5 /drivers/gpio/gpio-max7300.c
parent825de2e9007439977aed63771db570fc2235e8cd (diff)
downloadop-kernel-dev-feb836992437c9b8b53988da30880e0e6e93ac8b.zip
op-kernel-dev-feb836992437c9b8b53988da30880e0e6e93ac8b.tar.gz
gpiolib: Ensure struct gpio is always defined
Currently struct gpio is only defined when using gpiolib which makes the stub gpio_request_array() much less useful in drivers than is ideal as they can't work with struct gpio. Since there are no other definitions in kernel instead make the define always available no matter if gpiolib is selectable or selected, ensuring that drivers can always use the type. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/gpio-max7300.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud