diff options
Diffstat (limited to 'arch/arm/mach-keystone')
-rw-r--r-- | arch/arm/mach-keystone/cmd_clock.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-keystone/include/mach/hardware-k2g.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-keystone/cmd_clock.c b/arch/arm/mach-keystone/cmd_clock.c index e9ecc05953a..7b94a80b725 100644 --- a/arch/arm/mach-keystone/cmd_clock.c +++ b/arch/arm/mach-keystone/cmd_clock.c @@ -8,6 +8,7 @@ #include <vsprintf.h> #include <command.h> +#include <linux/string.h> #include <asm/arch/hardware.h> #include <asm/arch/clock.h> #include <asm/arch/psc_defs.h> diff --git a/arch/arm/mach-keystone/include/mach/hardware-k2g.h b/arch/arm/mach-keystone/include/mach/hardware-k2g.h index 971c081bb3c..482995fc8ba 100644 --- a/arch/arm/mach-keystone/include/mach/hardware-k2g.h +++ b/arch/arm/mach-keystone/include/mach/hardware-k2g.h @@ -67,8 +67,8 @@ /* NETCP */ #define KS2_NETCP_BASE 0x04000000 -#define K2G_GPIO0_BASE 0X02603000 -#define K2G_GPIO1_BASE 0X0260a000 +#define K2G_GPIO0_BASE 0x02603000 +#define K2G_GPIO1_BASE 0x0260a000 #define K2G_GPIO0_BANK0_BASE K2G_GPIO0_BASE + 0x10 #define K2G_GPIO1_BANK2_BASE K2G_GPIO1_BASE + 0x38 #define K2G_GPIO_DIR_OFFSET 0x0 |