From: Juergen Borleis <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 4/6] PPC/MPC52xx: unify header file name for clock API
Date: Fri, 31 Jul 2015 11:03:50 +0200 [thread overview]
Message-ID: <1438333432-10118-5-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1438333432-10118-1-git-send-email-jbe@pengutronix.de>
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>
---
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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2015-07-31 9:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 9:03 [PATCH] PowerPC/MPC5200 Juergen Borleis
2015-07-31 9:03 ` [PATCH 1/6] PPC/PCM030: remove nowhere used definitions Juergen Borleis
2015-07-31 9:03 ` [PATCH 2/6] PPC/PCM030: fix reference clock Juergen Borleis
2015-07-31 9:03 ` [PATCH 3/6] PPC/PCM030: enable USB/OHCI pin support Juergen Borleis
2015-07-31 9:03 ` Juergen Borleis [this message]
2015-07-31 9:03 ` [PATCH 5/6] PPC/MPC5200: re-use the IMX I2C master driver for MPC5200 Juergen Borleis
2015-07-31 9:03 ` [PATCH 6/6] PPC/PCM030: provide EEPROM support to read factory settings Juergen Borleis
2015-07-31 11:17 ` fixup! " Juergen Borleis
2015-08-03 6:56 ` [PATCH] PowerPC/MPC5200 Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438333432-10118-5-git-send-email-jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox