]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: at91: copy define to driver
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Nov 2013 09:30:14 +0000 (10:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Nov 2013 09:54:27 +0000 (10:54 +0100)
commit9d29f72e43ccffc2e8f0a8c18628a7f31a315d4b
tree4c1cf4e036b3aa5b27799fdd5beb58aadb1d4832
parent6f3b734817bec6c11ca92258d1751e677d79e622
pinctrl: at91: copy define to driver

The #define for the maximum number of GPIO blocks was retrieved
into pinctrl-at91.c by implicit inclusion of <mach/gpio.h>
from <linux/gpio.h> creating a dependency on machine-local
<mach/gpio.h>. Break the depenency by copying this single
define into the driver.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c