diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2008-04-16 13:53:06 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-04-17 10:51:29 -0400 |
commit | 06f35b4ba658ec9a447a5406a574258aaab1ba8d (patch) | |
tree | 3f601b9482c59102d7917d2488b6a0515f49d0cc /arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | |
parent | 3a2f020c5a93a88aa09adbe56dde43463324930a (diff) |
[POWERPC] 86xx: mark functions static, other minor cleanups
Cleanups as suggested by Stephen Rothwell and Dale Farnsworth, which
incudes marking a bunch of functions static and add a vendor prefix to
the compat node check for uniqueness.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/86xx/mpc86xx_hpcn.c')
-rw-r--r-- | arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index cfbe8c52e263..0764032e85aa 100644 --- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | |||
@@ -55,7 +55,7 @@ static void mpc86xx_8259_cascade(unsigned int irq, struct irq_desc *desc) | |||
55 | } | 55 | } |
56 | #endif /* CONFIG_PCI */ | 56 | #endif /* CONFIG_PCI */ |
57 | 57 | ||
58 | void __init | 58 | static void __init |
59 | mpc86xx_hpcn_init_irq(void) | 59 | mpc86xx_hpcn_init_irq(void) |
60 | { | 60 | { |
61 | struct mpic *mpic1; | 61 | struct mpic *mpic1; |
@@ -162,7 +162,7 @@ mpc86xx_hpcn_setup_arch(void) | |||
162 | } | 162 | } |
163 | 163 | ||
164 | 164 | ||
165 | void | 165 | static void |
166 | mpc86xx_hpcn_show_cpuinfo(struct seq_file *m) | 166 | mpc86xx_hpcn_show_cpuinfo(struct seq_file *m) |
167 | { | 167 | { |
168 | struct device_node *root; | 168 | struct device_node *root; |
@@ -190,13 +190,13 @@ static int __init mpc86xx_hpcn_probe(void) | |||
190 | { | 190 | { |
191 | unsigned long root = of_get_flat_dt_root(); | 191 | unsigned long root = of_get_flat_dt_root(); |
192 | 192 | ||
193 | if (of_flat_dt_is_compatible(root, "mpc86xx")) | 193 | if (of_flat_dt_is_compatible(root, "fsl,mpc8641hpcn")) |
194 | return 1; /* Looks good */ | 194 | return 1; /* Looks good */ |
195 | 195 | ||
196 | return 0; | 196 | return 0; |
197 | } | 197 | } |
198 | 198 | ||
199 | long __init | 199 | static long __init |
200 | mpc86xx_time_init(void) | 200 | mpc86xx_time_init(void) |
201 | { | 201 | { |
202 | unsigned int temp; | 202 | unsigned int temp; |