[PATCH] ARM:vexpress: beautify code, using 'static const' instead of 'const static'

Chen Gang gang.chen at asianux.com
Sat Mar 9 22:13:47 EST 2013


于 2013年03月10日 10:57, Viresh Kumar 写道:
> On 10 March 2013 07:59, Chen Gang <gang.chen at asianux.com> wrote:
>> >
>> >   better using 'static const' instead of 'const static'
>> >
>> > Signed-off-by: Chen Gang <gang.chen at asianux.com>
>> > ---
>> >  arch/arm/mach-vexpress/platsmp.c |    2 +-
>> >  1 files changed, 1 insertions(+), 1 deletions(-)
>> >
>> > diff --git a/arch/arm/mach-vexpress/platsmp.c b/arch/arm/mach-vexpress/platsmp.c
>> > index dc1ace5..9152bf7 100644
>> > --- a/arch/arm/mach-vexpress/platsmp.c
>> > +++ b/arch/arm/mach-vexpress/platsmp.c
>> > @@ -40,7 +40,7 @@ static struct map_desc vexpress_dt_cortex_a9_scu_map __initdata = {
>> >
>> >  static void *vexpress_dt_cortex_a9_scu_base __initdata;
>> >
>> > -const static char *vexpress_dt_cortex_a9_match[] __initconst = {
>> > +static const char *vexpress_dt_cortex_a9_match[] __initconst = {
> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
> 
> 

  thank you.

  :-)


-- 
Chen Gang

Asianux Corporation



More information about the linux-arm-kernel mailing list