[PATCH v3 3/7] da850: pruss board specific additions.
Subhasish Ghosh
subhasish at mistralsolutions.com
Tue Mar 8 23:29:04 EST 2011
Hello,
If I don't initialize it to NULL, its getting initialized to some garbage
string.
--------------------------------------------------
From: "Sergei Shtylyov" <sshtylyov at mvista.com>
Sent: Tuesday, March 08, 2011 8:49 PM
To: "Subhasish Ghosh" <subhasish at mistralsolutions.com>
Cc: <davinci-linux-open-source at linux.davincidsp.com>;
<sachi at mistralsolutions.com>; "Russell King" <linux at arm.linux.org.uk>; "open
list" <linux-kernel at vger.kernel.org>; <m-watkins at ti.com>;
<linux-arm-kernel at lists.infradead.org>
Subject: Re: [PATCH v3 3/7] da850: pruss board specific additions.
> Hello.
>
> On 08-03-2011 16:57, Subhasish Ghosh wrote:
>
>> This patch adds board specific initializations and setup routines.
>
>> 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 11f986b..c614c82 100644
>> --- a/arch/arm/mach-davinci/board-da850-evm.c
>> +++ b/arch/arm/mach-davinci/board-da850-evm.c
>> @@ -1053,6 +1053,26 @@ static __init int da850_evm_init_cpufreq(void)
>> static __init int da850_evm_init_cpufreq(void) { return 0; }
>> #endif
>>
>> +static struct da8xx_pruss_devices pruss_devices[] = {
>> + {.dev_name = NULL,},
>
> No need to explictly intialize to NULL.
>
> WBR, Sergei
More information about the linux-arm-kernel
mailing list