diff options
author | Ben Dooks <ben-linux@fluff.org> | 2005-10-12 19:58:07 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-12 19:58:07 +0100 |
commit | a7b1bbbc89194deba8cde02200f08b3840c9daa2 (patch) | |
tree | 3ad70801998d8ad62531ad3d2d4e2902a794312e /arch/arm/kernel/armksyms.c | |
parent | 17efa644f624a521e4a6c6a4641d39d227a9b24a (diff) | |
download | kernel_goldelico_gta04-a7b1bbbc89194deba8cde02200f08b3840c9daa2.zip kernel_goldelico_gta04-a7b1bbbc89194deba8cde02200f08b3840c9daa2.tar.gz kernel_goldelico_gta04-a7b1bbbc89194deba8cde02200f08b3840c9daa2.tar.bz2 |
[ARM] 2977/1: armksyms.c - make items in export table static
Patch from Ben Dooks
The items in the export table do not need to be
exported elsehwere, so quash the sparse warning
by making the symbol for the table entry static.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/armksyms.c')
-rw-r--r-- | arch/arm/kernel/armksyms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c index 835d450..7b17a87 100644 --- a/arch/arm/kernel/armksyms.c +++ b/arch/arm/kernel/armksyms.c @@ -45,8 +45,8 @@ extern void fp_enter(void); #define EXPORT_SYMBOL_ALIAS(sym,orig) \ EXPORT_CRC_ALIAS(sym) \ - const struct kernel_symbol __ksymtab_##sym \ - __attribute__((section("__ksymtab"))) = \ + static const struct kernel_symbol __ksymtab_##sym \ + __attribute_used__ __attribute__((section("__ksymtab"))) = \ { (unsigned long)&orig, #sym }; /* |