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

Commit e060e084 authored by Kumar Gala's avatar Kumar Gala Committed by Paul Mackerras
Browse files

[PATCH] powerpc: Lindent platforms/83xx



Ran arch/powerpc/platforms/83xx through Lindent

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 30f59336
Loading
Loading
Loading
Loading
+14 −17
Original line number Diff line number Diff line
@@ -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;
+1 −1

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.