diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-25 00:25:34 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-29 00:28:59 +0900 |
commit | e9986a4fa772f1d129725c5712e60298ee14f5b2 (patch) | |
tree | c14735139d0348eb7894a5b79fab00d818f99d7d /drivers/gpio/gpio-uniphier.c | |
parent | 10c62f41e37b3c5dee36432f760851eb34ce8d6c (diff) | |
download | u-boot-e9986a4fa772f1d129725c5712e60298ee14f5b2.tar.gz u-boot-e9986a4fa772f1d129725c5712e60298ee14f5b2.tar.bz2 u-boot-e9986a4fa772f1d129725c5712e60298ee14f5b2.zip |
gpio: uniphier: import dt-binginds header from Linux
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/gpio/gpio-uniphier.c')
-rw-r--r-- | drivers/gpio/gpio-uniphier.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-uniphier.c b/drivers/gpio/gpio-uniphier.c index 107c3fcb10..8d72ab8c4a 100644 --- a/drivers/gpio/gpio-uniphier.c +++ b/drivers/gpio/gpio-uniphier.c @@ -13,8 +13,7 @@ #include <linux/errno.h> #include <asm/global_data.h> #include <asm/gpio.h> - -#define UNIPHIER_GPIO_LINES_PER_BANK 8 +#include <dt-bindings/gpio/uniphier-gpio.h> #define UNIPHIER_GPIO_PORT_DATA 0x0 /* data */ #define UNIPHIER_GPIO_PORT_DIR 0x4 /* direction (1:in, 0:out) */ |