[PATCH 4/6] PPC/MPC52xx: unify header file name for clock API
Juergen Borleis
jbe at pengutronix.de
Fri Jul 31 02:03:50 PDT 2015
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 at pengutronix.de>
---
arch/ppc/mach-mpc5xxx/cpu.c | 2 +-
arch/ppc/mach-mpc5xxx/include/mach/{clocks.h => clock.h} | 0
arch/ppc/mach-mpc5xxx/time.c | 2 +-
drivers/net/fec_mpc5200.c | 2 +-
drivers/serial/serial_mpc5xxx.c | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
rename arch/ppc/mach-mpc5xxx/include/mach/{clocks.h => clock.h} (100%)
diff --git a/arch/ppc/mach-mpc5xxx/cpu.c b/arch/ppc/mach-mpc5xxx/cpu.c
index a53af63..3f826e4 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
similarity index 100%
rename from arch/ppc/mach-mpc5xxx/include/mach/clocks.h
rename to 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 699a66d..aaa4573 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)
diff --git a/drivers/net/fec_mpc5200.c b/drivers/net/fec_mpc5200.c
index 14ef872..30be8f7 100644
--- a/drivers/net/fec_mpc5200.c
+++ b/drivers/net/fec_mpc5200.c
@@ -14,7 +14,7 @@
#include <init.h>
#include <driver.h>
#include <mach/sdma.h>
-#include <mach/clocks.h>
+#include <mach/clock.h>
#include <linux/phy.h>
#include <linux/err.h>
#include "fec_mpc5200.h"
diff --git a/drivers/serial/serial_mpc5xxx.c b/drivers/serial/serial_mpc5xxx.c
index f48255b..711163c 100644
--- a/drivers/serial/serial_mpc5xxx.c
+++ b/drivers/serial/serial_mpc5xxx.c
@@ -35,7 +35,7 @@
#include <init.h>
#include <console.h>
#include <xfuncs.h>
-#include <mach/clocks.h>
+#include <mach/clock.h>
#include <linux/err.h>
static int __mpc5xxx_serial_setbaudrate(struct mpc5xxx_psc *psc, int baudrate)
--
2.1.4
More information about the barebox
mailing list