Staging: xgifb: Fix sparse warnings.
authorMiguel Gómez <magomez@igalia.com>
Mon, 18 Jun 2012 11:12:05 +0000 (13:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jun 2012 00:20:21 +0000 (17:20 -0700)
Add include files with function definitions to avoid sparse warnings.

Signed-off-by: Miguel Gómez <magomez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c
drivers/staging/xgifb/vb_setmode.c
drivers/staging/xgifb/vb_util.c

index 64d13117485aa00b0c8329ffc4a178f74cbef18c..143957f82d6a1bc8e1a638fc480a803f56ad9648 100644 (file)
@@ -5,6 +5,7 @@
 #include "vb_def.h"
 #include "vb_util.h"
 #include "vb_setmode.h"
+#include "vb_init.h"
 static const unsigned short XGINew_DDRDRAM_TYPE340[4][2] = {
        { 16, 0x45},
        {  8, 0x35},
index b1713d389794c72f277b8f84da1de212f6af8c92..479362eacb4f50c148ac962d05c9bfe020da3a40 100644 (file)
@@ -4,7 +4,7 @@
 #include "vb_def.h"
 #include "vb_util.h"
 #include "vb_table.h"
-
+#include "vb_setmode.h"
 
 #define  IndexMask 0xff
 #define TVCLKBASE_315_25 (TVCLKBASE_315 + 25)
index 5c93a2202bd00ce8081b608d8f86329130a79b87..1b452f8b62740f71ece6128e96091c56014a062c 100644 (file)
@@ -1,4 +1,5 @@
 #include "vgatypes.h"
+#include "vb_util.h"
 
 void xgifb_reg_set(unsigned long port, u8 index, u8 data)
 {