Staging: xgifb: Fix sparse warnings.

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>
This commit is contained in:
Miguel Gómez 2012-06-18 13:12:05 +02:00 committed by Greg Kroah-Hartman
parent 448810662a
commit e054102b9f
3 changed files with 3 additions and 1 deletions

View 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},

View 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)

View file

@ -1,4 +1,5 @@
#include "vgatypes.h"
#include "vb_util.h"
void xgifb_reg_set(unsigned long port, u8 index, u8 data)
{