[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080201084817.GB10969@uranus.ravnborg.org>
Date: Fri, 1 Feb 2008 09:48:17 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Greg Ungerer <gerg@...pgear.com>
Cc: torvalds@...ux-foundation.org, gerg@...inux.org,
linux-kernel@...r.kernel.org
Subject: Re: [M68KNOMMU]: platform setup for 520x ColdFire parts
On Fri, Feb 01, 2008 at 05:34:10PM +1000, Greg Ungerer wrote:
> Switch to platform style configuration for 520x ColdFire parts.
> Initial support is for the UARTs. DMA support moved to common code
> for all ColdFire parts.
>
> +static struct mcf_platform_uart m520x_uart_platform[] = {
> + {
> + .mapbase = MCF_MBAR + MCFUART_BASE1,
> + .irq = MCFINT_VECBASE + MCFINT_UART0,
> + },
> + {
> + .mapbase = MCF_MBAR + MCFUART_BASE2,
> + .irq = MCFINT_VECBASE + MCFINT_UART1,
> + },
> + {
> + .mapbase = MCF_MBAR + MCFUART_BASE3,
> + .irq = MCFINT_VECBASE + MCFINT_UART2,
> + },
> + { },
> +};
const?
Same comments for the rest of the patch and the other similar patches.
Note: Use __initdataconst for const data as replacement for __initdata.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists