OSDN Git Service

ARM: ks8695: fix __initdata annotation
authorArnd Bergmann <arnd@arndb.de>
Mon, 8 Feb 2016 14:24:57 +0000 (15:24 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 26 Feb 2016 16:30:48 +0000 (17:30 +0100)
commit6ad7313b534b1bdef09a07d4baad54e8d93e8480
tree4d283c743751d09a4f236c014409480e0d645d5c
parent5dc1104960f634445b2296c865b1d091a495bcef
ARM: ks8695: fix __initdata annotation

Clang complains about the __initdata section attribute being in the
wrong place in two files of ks8695:

arch/arm/mach-ks8695/cpu.c:37:31: error: '__section__' attribute only applies to functions and global variables
arch/arm/mach-ks8695/board-og.c:83:31: error: '__section__' attribute only applies to functions and global variables

This moves the attribute to the correct place.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
arch/arm/mach-ks8695/board-og.c
arch/arm/mach-ks8695/cpu.c