summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/clock.h
diff options
context:
space:
mode:
authorIan Campbell <ijc@hellion.org.uk>2014-10-24 20:20:47 (GMT)
committerHans de Goede <hdegoede@redhat.com>2014-11-05 12:09:58 (GMT)
commited41e62f51d190e32194d655ce9a107d03dde259 (patch)
treea4318eb8f925109da77df33141301da3df364796 /arch/arm/include/asm/arch-sunxi/clock.h
parent4ce9941d2d8473e8b5360b7bbed7f9dc4ab16cbf (diff)
downloadu-boot-fsl-qoriq-ed41e62f51d190e32194d655ce9a107d03dde259.tar.xz
sunxi: Use CONFIG_MACH_SUN?I from Kconfig instead of CONFIG_SUN?I
Mostly automatic with: sed -i -e 's/CONFIG_\(SUN[45678]I\)/CONFIG_MACH_\1/g' $(git grep -l CONFIG_SUN[45678]I) followed by removing the relevant #defines from include/configs/sun?i.h by hand. Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock.h b/arch/arm/include/asm/arch-sunxi/clock.h
index c562f62..42382a8 100644
--- a/arch/arm/include/asm/arch-sunxi/clock.h
+++ b/arch/arm/include/asm/arch-sunxi/clock.h
@@ -15,7 +15,7 @@
#define CLK_GATE_CLOSE 0x0
/* clock control module regs definition */
-#if defined(CONFIG_SUN6I) || defined(CONFIG_SUN8I)
+#if defined(CONFIG_MACH_SUN6I) || defined(CONFIG_MACH_SUN8I)
#include <asm/arch/clock_sun6i.h>
#else
#include <asm/arch/clock_sun4i.h>