Commit e054102b authored by Miguel Gómez's avatar Miguel Gómez Committed by Greg Kroah-Hartman

Staging: xgifb: Fix sparse warnings.

Add include files with function definitions to avoid sparse warnings.
Signed-off-by: default avatarMiguel Gómez <magomez@igalia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 44881066
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "vb_def.h" #include "vb_def.h"
#include "vb_util.h" #include "vb_util.h"
#include "vb_setmode.h" #include "vb_setmode.h"
#include "vb_init.h"
static const unsigned short XGINew_DDRDRAM_TYPE340[4][2] = { static const unsigned short XGINew_DDRDRAM_TYPE340[4][2] = {
{ 16, 0x45}, { 16, 0x45},
{ 8, 0x35}, { 8, 0x35},
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "vb_def.h" #include "vb_def.h"
#include "vb_util.h" #include "vb_util.h"
#include "vb_table.h" #include "vb_table.h"
#include "vb_setmode.h"
#define IndexMask 0xff #define IndexMask 0xff
#define TVCLKBASE_315_25 (TVCLKBASE_315 + 25) #define TVCLKBASE_315_25 (TVCLKBASE_315 + 25)
......
#include "vgatypes.h" #include "vgatypes.h"
#include "vb_util.h"
void xgifb_reg_set(unsigned long port, u8 index, u8 data) void xgifb_reg_set(unsigned long port, u8 index, u8 data)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment