Staging: ft1000: Fix Sparse Warning for Static Declarations in boot.h
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Tue, 22 Oct 2013 23:54:33 +0000 (02:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Oct 2013 13:35:54 +0000 (06:35 -0700)
This patch fixes the Sparse Warning: "symbol 'bootimage'
was not declared. Should it be static?" in boot.h

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-pcmcia/boot.h

index 1fc4ac12e247a71e310e2ebf30dbf78a34a697c6..9dce54eae1cf5b9d6f2897f9e678643cf3952ecc 100644 (file)
@@ -27,7 +27,7 @@
 #define _BOOTH_
 
 // Official bootloader
-unsigned char bootimage [] = {
+static unsigned char bootimage [] = {
 0x00,0x00,0x01,0x5E,0x00,0x00
 ,0x00,0x00,0x00,0x00,0x02,0xD7
 ,0x00,0x00,0x01,0x5E,0x46,0xB3