Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbc94e7c authored by Becky Bruce's avatar Becky Bruce Committed by Paul Mackerras
Browse files

[PATCH] powerpc: lindent 85xx platform code



Ran arch/powerpc/platforms/85xx through Lindent

Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent e19217d4
Loading
Loading
Loading
Loading
+18 −28
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@ unsigned long isa_io_base = 0;
unsigned long isa_mem_base = 0;
#endif


/*
 * Internal interrupts are all Level Sensitive, and Positive Polarity
 *
@@ -68,7 +67,6 @@ static u_char mpc85xx_ads_openpic_initsenses[] __initdata = {
	0x0,			/* External 11: */
};


void __init mpc85xx_ads_pic_init(void)
{
	struct mpic *mpic1;
@@ -81,7 +79,8 @@ void __init mpc85xx_ads_pic_init(void)
			   MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN,
			   4, MPC85xx_OPENPIC_IRQ_OFFSET, 0, 250,
			   mpc85xx_ads_openpic_initsenses,
			sizeof(mpc85xx_ads_openpic_initsenses), " OpenPIC  ");
			   sizeof(mpc85xx_ads_openpic_initsenses),
			   " OpenPIC  ");
	BUG_ON(mpic1 == NULL);
	mpic_assign_isu(mpic1, 0, OpenPIC_PAddr + 0x10200);
	mpic_assign_isu(mpic1, 1, OpenPIC_PAddr + 0x10280);
@@ -105,12 +104,10 @@ void __init mpc85xx_ads_pic_init(void)
	mpic_init(mpic1);
}


/*
 * Setup the architecture
 */
static void __init
mpc85xx_ads_setup_arch(void)
static void __init mpc85xx_ads_setup_arch(void)
{
	struct device_node *cpu;

@@ -128,7 +125,6 @@ mpc85xx_ads_setup_arch(void)
			loops_per_jiffy = 50000000 / HZ;
		of_node_put(cpu);
	}

#ifdef  CONFIG_ROOT_NFS
	ROOT_DEV = Root_NFS;
#else
@@ -136,9 +132,7 @@ mpc85xx_ads_setup_arch(void)
#endif
}


void
mpc85xx_ads_show_cpuinfo(struct seq_file *m)
void mpc85xx_ads_show_cpuinfo(struct seq_file *m)
{
	uint pvid, svid, phid1;
	uint memsize = total_memory;
@@ -159,9 +153,7 @@ mpc85xx_ads_show_cpuinfo(struct seq_file *m)
	seq_printf(m, "Memory\t\t: %d MB\n", memsize / (1024 * 1024));
}


void __init
platform_init(void)
void __init platform_init(void)
{
	ppc_md.setup_arch = mpc85xx_ads_setup_arch;
	ppc_md.show_cpuinfo = mpc85xx_ads_show_cpuinfo;
@@ -183,5 +175,3 @@ platform_init(void)
	if (ppc_md.progress)
		ppc_md.progress("mpc85xx_ads platform_init(): exit", 0);
}

+1 −1

File changed.

Contains only whitespace changes.