[PATCH] Marvell OpenRD-Ultimate machine support
Alexander Clouter
alex at digriz.org.uk
Wed Jun 9 16:39:29 EDT 2010
Hi,
* Alexander Clouter <alex at digriz.org.uk> [2010-06-09 21:37:20+0100]:
>
> > kirkwood_ge00_init(&openrd_ge00_data);
> > - if (machine_is_openrd_client())
> > + if (machine_is_openrd_client() || \__same line
> > + machine_is_openrd_ultimate()) /
> > kirkwood_ge01_init(&openrd_ge01_data);
> > + <------- REMOVE
> > kirkwood_sata_init(&openrd_sata_data);
> > kirkwood_sdio_init(&openrd_mvsdio_data);
> >
> As that 'if()' clause is still less than 77 chars wide:
> ----
> kirkwood_ge00_init(&openrd_ge00_data);
> if (machine_is_openrd_client() || machine_is_openrd_ultimate())
> kirkwood_ge01_init(&openrd_ge01_data);
> kirkwood_sata_init(&openrd_sata_data);
> kirkwood_sdio_init(&openrd_mvsdio_data);
> ----
>
Better still, just make this 'if(!machine_is_openrd_base())'.
Cheers
--
Alexander Clouter
.sigmonster says: What this country needs is a good five cent microcomputer.
More information about the linux-arm-kernel
mailing list