]> git.baikalelectronics.ru Git - kernel.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)
commit9de8ef0906c6d6392c5217e47b283d86706d53e0
tree9400efcc09b3bd4213cf0cd2efbdf67c4e8ee672
parent19bfc0c96b16567c47090a044128edbf8db47825
gpio: fix constconst in devres

Commit 58c7efe7abbf98e43a7e145311d17ae0e83c6bdd
"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