aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBecky Bruce <bgill@freescale.com>2006-02-07 21:27:34 -0600
committerPaul Mackerras <paulus@samba.org>2006-02-10 16:51:56 +1100
commite19217d42e3d12d74d9eca40827721a3ef1b251c (patch)
tree14738f2de0967683b088470ec49fa3ab4e49cad2 /arch
parent46ed55f647371008c33e06e61459192f96cc24ca (diff)
[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 <becky.bruce@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/85xx/Makefile2
-rw-r--r--arch/powerpc/platforms/85xx/misc.c (renamed from arch/powerpc/platforms/85xx/mpc85xx.c)4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile
index b443206e61a..70e1190809f 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
index 82510385d88..26c5e822c7c 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);