[PATCH v2 06/13] da850: pruss CAN board specific additions.
Sergei Shtylyov
sshtylyov at mvista.com
Fri Feb 11 13:45:35 EST 2011
Subhasish Ghosh wrote:
> This patch adds the pruss CAN pin mux and registers the device
> with the pruss mfd driver.
> Signed-off-by: Subhasish Ghosh <subhasish at mistralsolutions.com>
[...]
> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
> index 242d1ed..2ce5536 100644
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -1053,8 +1053,43 @@ static __init int da850_evm_init_cpufreq(void)
[...]
> static struct da8xx_pruss_devices pruss_devices[] = {
> - {.dev_name = NULL,},
> + {
> + .dev_name = "da8xx_pruss_can",
> + .pdata = &can_data,
> + .pdata_size = sizeof(can_data),
> + .setup = da850_evm_setup_pruss_can,
> + },
> + {
> + .dev_name = NULL,
> + },
No need to explicitly initialize to NULL.
WBR, Sergei
More information about the linux-arm-kernel
mailing list