diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-10-17 11:49:40 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-10-29 09:28:35 +0100 |
commit | c654b6bf2cda7e051d1d5ba7e696855511f1105a (patch) | |
tree | 905760a4424fed634c483ed26b8789e4883ec6e6 /drivers/pinctrl/pinctrl-at91.c | |
parent | pinctrl-tb10x: remove duplicate check on resource (diff) | |
download | linux-c654b6bf2cda7e051d1d5ba7e696855511f1105a.tar.xz linux-c654b6bf2cda7e051d1d5ba7e696855511f1105a.zip |
pinctrl: at91: use own header
Copy the mach/at91_pio.h header locally and use it for pinctrl-at91.c. This
allows to remove the dependency on mach/at91_pio.h to be able to move at91 to
multiplatform.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-at91.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 354a81d40925..94643bbaee37 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -25,9 +25,7 @@ /* Since we request GPIOs from ourself */ #include <linux/pinctrl/consumer.h> -#include <mach/hardware.h> -#include <mach/at91_pio.h> - +#include "pinctrl-at91.h" #include "core.h" #define MAX_GPIO_BANKS 5 |