From: Linus Walleij Date: Mon, 9 Sep 2013 13:00:40 +0000 (+0200) Subject: gpio: decouple the IOP GPIO driver from platform X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f6ffa5ee039cd0168d82e3edd712ebbb1de93a00;p=linux-beck.git gpio: decouple the IOP GPIO driver from platform This removes the only dependence between the IOP GPIO driver and the GENERIC_GPIO header in and its common implementation in the namespace by copying the one constant it is using into the driver file. Cc: Lennert Buytenhek Cc: Dan Williams Cc: Mikael Pettersson Tested-by: Aaro Koskinen Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-iop.c b/drivers/gpio/gpio-iop.c index 697de6dc4936..d4a170dfe504 100644 --- a/drivers/gpio/gpio-iop.c +++ b/drivers/gpio/gpio-iop.c @@ -16,8 +16,8 @@ #include #include #include -#include -#include + +#define IOP3XX_N_GPIOS 8 void gpio_line_config(int line, int direction) {