浏览代码

Staging: ft1000: Fix Sparse Warning for Static Declarations in boot.h

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>
Ebru Akagunduz 12 年之前
父节点
当前提交
bfb3af4ebc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/ft1000/ft1000-pcmcia/boot.h

+ 1 - 1
drivers/staging/ft1000/ft1000-pcmcia/boot.h

@@ -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