diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-10 13:46:28 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-10 13:46:28 -0400 |
commit | 2f058256cb64e346f4fb4499ff4e0f1c2791a4b4 (patch) | |
tree | 91e06602f4d3abb6812ea8c9bc9ba4501e14c84e /arch/ppc/platforms/pmac_setup.c | |
parent | 0274aa2506fd2fe89a58dd6cd64d3b3f7b976af8 (diff) | |
parent | 86b3786078d63242d3194ffc58ae8dae1d1bbef3 (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'arch/ppc/platforms/pmac_setup.c')
-rw-r--r-- | arch/ppc/platforms/pmac_setup.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/ppc/platforms/pmac_setup.c b/arch/ppc/platforms/pmac_setup.c index 4d324b630f4f..b392b9a15987 100644 --- a/arch/ppc/platforms/pmac_setup.c +++ b/arch/ppc/platforms/pmac_setup.c | |||
@@ -113,7 +113,7 @@ extern int pmac_newworld; | |||
113 | extern void zs_kgdb_hook(int tty_num); | 113 | extern void zs_kgdb_hook(int tty_num); |
114 | static void ohare_init(void); | 114 | static void ohare_init(void); |
115 | #ifdef CONFIG_BOOTX_TEXT | 115 | #ifdef CONFIG_BOOTX_TEXT |
116 | void pmac_progress(char *s, unsigned short hex); | 116 | static void pmac_progress(char *s, unsigned short hex); |
117 | #endif | 117 | #endif |
118 | 118 | ||
119 | sys_ctrler_t sys_ctrler = SYS_CTRLER_UNKNOWN; | 119 | sys_ctrler_t sys_ctrler = SYS_CTRLER_UNKNOWN; |
@@ -123,7 +123,7 @@ extern struct smp_ops_t psurge_smp_ops; | |||
123 | extern struct smp_ops_t core99_smp_ops; | 123 | extern struct smp_ops_t core99_smp_ops; |
124 | #endif /* CONFIG_SMP */ | 124 | #endif /* CONFIG_SMP */ |
125 | 125 | ||
126 | int __pmac | 126 | static int __pmac |
127 | pmac_show_cpuinfo(struct seq_file *m) | 127 | pmac_show_cpuinfo(struct seq_file *m) |
128 | { | 128 | { |
129 | struct device_node *np; | 129 | struct device_node *np; |
@@ -227,7 +227,7 @@ pmac_show_cpuinfo(struct seq_file *m) | |||
227 | return 0; | 227 | return 0; |
228 | } | 228 | } |
229 | 229 | ||
230 | int __openfirmware | 230 | static int __openfirmware |
231 | pmac_show_percpuinfo(struct seq_file *m, int i) | 231 | pmac_show_percpuinfo(struct seq_file *m, int i) |
232 | { | 232 | { |
233 | #ifdef CONFIG_CPU_FREQ_PMAC | 233 | #ifdef CONFIG_CPU_FREQ_PMAC |
@@ -415,7 +415,7 @@ find_ide_boot(void) | |||
415 | } | 415 | } |
416 | #endif /* CONFIG_BLK_DEV_IDE && CONFIG_BLK_DEV_IDE_PMAC */ | 416 | #endif /* CONFIG_BLK_DEV_IDE && CONFIG_BLK_DEV_IDE_PMAC */ |
417 | 417 | ||
418 | void __init | 418 | static void __init |
419 | find_boot_device(void) | 419 | find_boot_device(void) |
420 | { | 420 | { |
421 | #if defined(CONFIG_BLK_DEV_IDE) && defined(CONFIG_BLK_DEV_IDE_PMAC) | 421 | #if defined(CONFIG_BLK_DEV_IDE) && defined(CONFIG_BLK_DEV_IDE_PMAC) |
@@ -512,7 +512,7 @@ note_bootable_part(dev_t dev, int part, int goodness) | |||
512 | } | 512 | } |
513 | } | 513 | } |
514 | 514 | ||
515 | void __pmac | 515 | static void __pmac |
516 | pmac_restart(char *cmd) | 516 | pmac_restart(char *cmd) |
517 | { | 517 | { |
518 | #ifdef CONFIG_ADB_CUDA | 518 | #ifdef CONFIG_ADB_CUDA |
@@ -537,7 +537,7 @@ pmac_restart(char *cmd) | |||
537 | } | 537 | } |
538 | } | 538 | } |
539 | 539 | ||
540 | void __pmac | 540 | static void __pmac |
541 | pmac_power_off(void) | 541 | pmac_power_off(void) |
542 | { | 542 | { |
543 | #ifdef CONFIG_ADB_CUDA | 543 | #ifdef CONFIG_ADB_CUDA |
@@ -562,7 +562,7 @@ pmac_power_off(void) | |||
562 | } | 562 | } |
563 | } | 563 | } |
564 | 564 | ||
565 | void __pmac | 565 | static void __pmac |
566 | pmac_halt(void) | 566 | pmac_halt(void) |
567 | { | 567 | { |
568 | pmac_power_off(); | 568 | pmac_power_off(); |
@@ -700,7 +700,7 @@ pmac_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
700 | } | 700 | } |
701 | 701 | ||
702 | #ifdef CONFIG_BOOTX_TEXT | 702 | #ifdef CONFIG_BOOTX_TEXT |
703 | void __init | 703 | static void __init |
704 | pmac_progress(char *s, unsigned short hex) | 704 | pmac_progress(char *s, unsigned short hex) |
705 | { | 705 | { |
706 | if (boot_text_mapped) { | 706 | if (boot_text_mapped) { |