[PATCH] powerpc: Lindent platforms/83xx

Ran arch/powerpc/platforms/83xx through Lindent

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Kumar Gala 2006-02-02 13:51:10 -06:00 committed by Paul Mackerras
parent 30f5933657
commit e060e084e7
4 changed files with 20 additions and 23 deletions

View File

@ -76,8 +76,7 @@ mpc83xx_map_irq(struct pci_dev *dev, unsigned char idsel, unsigned char pin)
* Setup the architecture
*
*/
static void __init
mpc834x_sys_setup_arch(void)
static void __init mpc834x_sys_setup_arch(void)
{
struct device_node *np;
@ -86,14 +85,14 @@ mpc834x_sys_setup_arch(void)
np = of_find_node_by_type(NULL, "cpu");
if (np != 0) {
unsigned int *fp = (int *) get_property(np, "clock-frequency", NULL);
unsigned int *fp =
(int *)get_property(np, "clock-frequency", NULL);
if (fp != 0)
loops_per_jiffy = *fp / HZ;
else
loops_per_jiffy = 50000000 / HZ;
of_node_put(np);
}
#ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
add_bridge(np);
@ -110,8 +109,7 @@ mpc834x_sys_setup_arch(void)
#endif
}
void __init
mpc834x_sys_init_IRQ(void)
void __init mpc834x_sys_init_IRQ(void)
{
u8 senses[8] = {
0, /* EXT 0 */
@ -143,8 +141,7 @@ mpc834x_sys_init_IRQ(void)
extern ulong ds1374_get_rtc_time(void);
extern int ds1374_set_rtc_time(ulong);
static int __init
mpc834x_rtc_hookup(void)
static int __init mpc834x_rtc_hookup(void)
{
struct timespec tv;
@ -157,11 +154,11 @@ mpc834x_rtc_hookup(void)
return 0;
}
late_initcall(mpc834x_rtc_hookup);
#endif
void __init
platform_init(void)
void __init platform_init(void)
{
/* setup the PowerPC module struct */
ppc_md.setup_arch = mpc834x_sys_setup_arch;