From e19217d42e3d12d74d9eca40827721a3ef1b251c Mon Sep 17 00:00:00 2001 From: Becky Bruce Date: Tue, 7 Feb 2006 21:27:34 -0600 Subject: [PATCH] [PATCH] powerpc: rename mpc85xx.c to misc.c Rename mpc85xx.c to misc.c to match the pattern established by the 8349 port - consistency is a good thing. Also run Lindent on the file to clean it up. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras --- arch/powerpc/platforms/85xx/Makefile | 2 +- arch/powerpc/platforms/85xx/{mpc85xx.c => misc.c} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename arch/powerpc/platforms/85xx/{mpc85xx.c => misc.c} (95%) diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile index b443206e61..70e1190809 100644 --- a/arch/powerpc/platforms/85xx/Makefile +++ b/arch/powerpc/platforms/85xx/Makefile @@ -1,4 +1,4 @@ # # Makefile for the PowerPC 85xx linux kernel. # -obj-$(CONFIG_PPC_85xx) += mpc85xx.o mpc85xx_ads.o +obj-$(CONFIG_PPC_85xx) += misc.o mpc85xx_ads.o diff --git a/arch/powerpc/platforms/85xx/mpc85xx.c b/arch/powerpc/platforms/85xx/misc.c similarity index 95% rename from arch/powerpc/platforms/85xx/mpc85xx.c rename to arch/powerpc/platforms/85xx/misc.c index 82510385d8..26c5e822c7 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx.c +++ b/arch/powerpc/platforms/85xx/misc.c @@ -16,8 +16,7 @@ extern void abort(void); -void -mpc85xx_restart(char *cmd) +void mpc85xx_restart(char *cmd) { local_irq_disable(); abort(); @@ -28,4 +27,5 @@ phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size) { return addr; }; + EXPORT_SYMBOL(fixup_bigphys_addr); -- 2.39.5