]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gpio: fix constconst in devres
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Mar 2015 11:21:17 +0000 (12:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Mar 2015 16:45:59 +0000 (17:45 +0100)
commitb6202855d14752a3822db48c7e9ed534de672af1
tree9400efcc09b3bd4213cf0cd2efbdf67c4e8ee672
parent878ce05894284d3eb683e7d249d09c796c02d73b
gpio: fix constconst in devres

Commit 1feb57a245a4910b03202a814ffc51a900bd4aca
"gpio: add parameter to allow the use named gpios"
includes a double-consted array. What we want is not
const const * but const * const (const pointer to const
data). Fix this.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Olliver Schinagl <oliver@schinagl.nl>
Cc: Rojhalat Ibrahim <imr@rtschenk.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/devres.c