net: sun8i_emac: Use consistent clock bitfield definitions
[oweals/u-boot.git] / drivers / gpio / gpio-uniphier.c
index 107c3fcb10a5ab3a42d90778c2848197f6320ead..30392bccaaa0b9ac73996bc4e0d51cb8d51f4473 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2016-2017 Socionext Inc.
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -13,8 +12,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) */