summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2015-07-31 11:03:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-08-03 08:52:43 +0200
commitd2e8305b34af8ad9f4a9f698625d6cb3cf176501 (patch)
tree4895c827a9771392ca0681bc1ca7f14ab3f10cc3 /arch/ppc
parentc641d9d3cac43620a1432b7d26babe397f833663 (diff)
downloadbarebox-d2e8305b34af8ad9f4a9f698625d6cb3cf176501.tar.gz
barebox-d2e8305b34af8ad9f4a9f698625d6cb3cf176501.tar.xz
PPC/MPC52xx: unify header file name for clock API
In preparation to re-use the i.MX I2C driver for the MPC5200 SoC use clock.h instead of clocks.h for the clock API. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/mach-mpc5xxx/cpu.c2
-rw-r--r--arch/ppc/mach-mpc5xxx/include/mach/clock.h (renamed from arch/ppc/mach-mpc5xxx/include/mach/clocks.h)0
-rw-r--r--arch/ppc/mach-mpc5xxx/time.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/mach-mpc5xxx/cpu.c b/arch/ppc/mach-mpc5xxx/cpu.c
index a53af63039..3f826e4994 100644
--- a/arch/ppc/mach-mpc5xxx/cpu.c
+++ b/arch/ppc/mach-mpc5xxx/cpu.c
@@ -31,7 +31,7 @@
#include <types.h>
#include <errno.h>
#include <of.h>
-#include <mach/clocks.h>
+#include <mach/clock.h>
int checkcpu (void)
{
diff --git a/arch/ppc/mach-mpc5xxx/include/mach/clocks.h b/arch/ppc/mach-mpc5xxx/include/mach/clock.h
index 4e1a903e79..4e1a903e79 100644
--- a/arch/ppc/mach-mpc5xxx/include/mach/clocks.h
+++ b/arch/ppc/mach-mpc5xxx/include/mach/clock.h
diff --git a/arch/ppc/mach-mpc5xxx/time.c b/arch/ppc/mach-mpc5xxx/time.c
index 699a66dff4..aaa4573f6f 100644
--- a/arch/ppc/mach-mpc5xxx/time.c
+++ b/arch/ppc/mach-mpc5xxx/time.c
@@ -20,7 +20,7 @@
#include <common.h>
#include <clock.h>
#include <init.h>
-#include <mach/clocks.h>
+#include <mach/clock.h>
#include <asm/common.h>
uint64_t ppc_clocksource_read(void)