]> rtime.felk.cvut.cz Git - linux-imx.git/commit
gpiolib: Remove 'const' from data argument of gpiochip_find()
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 19 May 2012 05:01:05 +0000 (23:01 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 19 May 2012 05:01:05 +0000 (23:01 -0600)
commit07ce8ec7308ab3fa55fe2861671b157f857fff58
tree4e0b2fa2f61bbae54ecfc5be7d88e4501ca497ec
parente9fe32bcadb8a7a40411d77f168abd45941b049b
gpiolib: Remove 'const' from data argument of gpiochip_find()

Commit 3d0f7cf0 "gpio: Adjust of_xlate API to support multiple GPIO
chips" changed the api of gpiochip_find to drop const from the data
parameter of the match hook, but didn't also drop const from data
causing a build warning.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h