pinctrl: uniphier: move register base macros from header to .c file
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 13 Sep 2016 16:06:05 +0000 (01:06 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 14 Sep 2016 13:54:19 +0000 (22:54 +0900)
These macros are only referenced in pinctrl-uniphier-core.c, so
they need not reside in a header file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/pinctrl/uniphier/pinctrl-uniphier.h

index 3f891f158197c8f8ba48214bae795232d2a859d0..f2fe313e79856997ee0703d8832971a2e1b8f002 100644 (file)
 
 #include "pinctrl-uniphier.h"
 
+#define UNIPHIER_PINCTRL_PINMUX_BASE   0x1000
+#define UNIPHIER_PINCTRL_LOAD_PINMUX   0x1700
+#define UNIPHIER_PINCTRL_IECTRL                0x1d00
+
 static const char *uniphier_pinctrl_dummy_name = "_dummy";
 
 static int uniphier_pinctrl_get_groups_count(struct udevice *dev)
index 4de5b03c8d747b035c2b3371c474f43981ce70fb..76ea1bef12b46501a54dfea7300e8fbd5564bbeb 100644 (file)
 #include <linux/kernel.h>
 #include <linux/types.h>
 
-#define UNIPHIER_PINCTRL_PINMUX_BASE   0x1000
-#define UNIPHIER_PINCTRL_LOAD_PINMUX   0x1700
-#define UNIPHIER_PINCTRL_IECTRL                0x1d00
-
 #define UNIPHIER_PIN_ATTR_PACKED(iectrl)       (iectrl)
 
 static inline unsigned int uniphier_pin_get_iectrl(unsigned long data)