scripts: signGP: mark struct as static
authorFelipe Balbi <balbi@ti.com>
Wed, 15 Dec 2010 12:28:17 +0000 (14:28 +0200)
committerAnand Gadiyar <gadiyar@ti.com>
Mon, 20 Dec 2010 06:48:52 +0000 (12:18 +0530)
that will never be used outside this file
anyway.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
scripts/signGP.c

index 062c45f..f14bf59 100644 (file)
@@ -138,7 +138,7 @@ struct ch_chsettings_nochram {
 
 
 #ifdef CH_WITH_CHRAM
-const struct ch_chsettings_chram config_header = {
+static const struct ch_chsettings_chram config_header = {
        /* CHSETTINGS TOC */
        {sizeof(struct ch_toc) * 4,
         sizeof(struct chsettings),
@@ -208,7 +208,8 @@ const struct ch_chsettings_chram config_header = {
        ""
 };
 #else
-struct ch_chsettings_nochram config_header  __attribute__((section(".config_header"))) = {
+static struct ch_chsettings_nochram config_header
+       __attribute__((section(".config_header"))) = {
        /* CHSETTINGS TOC */
        {(sizeof(struct ch_toc)) * 2,
         sizeof(struct chsettings),