Messages in this thread | | | Date | Fri, 19 Aug 2011 00:57:16 +0300 | From | Felipe Balbi <> | Subject | Re: [PATCH 4/5] ARM: davinci: da850, omapl138: share the davinci_uart_config |
| |
Hi,
On Thu, Aug 18, 2011 at 05:50:50PM -0400, Ben Gardiner wrote: > diff --git a/arch/arm/mach-davinci/da850-reference.c b/arch/arm/mach-davinci/da850-reference.c > index 25df6476..e4f5072 100644 > --- a/arch/arm/mach-davinci/da850-reference.c > +++ b/arch/arm/mach-davinci/da850-reference.c > @@ -20,3 +20,12 @@ int da850_reference_add_preferred_console(void) > { > return add_preferred_console("ttyS", 2, "115200"); > } > + > +static struct davinci_uart_config da850_reference_uart_config __initdata = { > + .enabled_uarts = 0x7, > +}; > + > +void da850_reference_serial_init(void) > +{ > + davinci_serial_init(&da850_reference_uart_config); > +}
this looks like it could go to that da850_devices.c file (or whatever it was called, sorry forgot the name)
-- balbi [unhandled content-type:application/pgp-signature] | |