diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-02-09 09:30:45 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-02-09 09:30:45 -0600 |
commit | 27630bec9478a2dd387c68b5e435ed3fdd3a513e (patch) | |
tree | 932ef26ccbc2876802c3a7ca529aa8477e56f723 /arch/powerpc/platforms/85xx/mpc85xx_ads.c | |
parent | 8dabba5d1a8f1893bc3db9bf66007de2020c8b62 (diff) | |
download | op-kernel-dev-27630bec9478a2dd387c68b5e435ed3fdd3a513e.zip op-kernel-dev-27630bec9478a2dd387c68b5e435ed3fdd3a513e.tar.gz |
[POWERPC] 85xx: Marked functions static
Marked a number of functions in 85xx board code as static. Also, some minor
whitespace cleanup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx_ads.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ads.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c index bda2e55..c56fce5 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c @@ -45,8 +45,7 @@ unsigned long isa_mem_base = 0; #endif #ifdef CONFIG_PCI -int -mpc85xx_exclude_device(u_char bus, u_char devfn) +static int mpc85xx_exclude_device(u_char bus, u_char devfn) { if (bus == 0 && PCI_SLOT(devfn) == 0) return PCIBIOS_DEVICE_NOT_FOUND; @@ -69,7 +68,7 @@ static void cpm2_cascade(unsigned int irq, struct irq_desc *desc) #endif /* CONFIG_CPM2 */ -void __init mpc85xx_ads_pic_init(void) +static void __init mpc85xx_ads_pic_init(void) { struct mpic *mpic; struct resource r; @@ -254,7 +253,7 @@ static void __init mpc85xx_ads_setup_arch(void) #endif } -void mpc85xx_ads_show_cpuinfo(struct seq_file *m) +static void mpc85xx_ads_show_cpuinfo(struct seq_file *m) { uint pvid, svid, phid1; uint memsize = total_memory; |