Skip to content

Commit

Permalink
Staging: xgifb: Fix sparse warnings.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miguel Gómez authored and Greg Kroah-Hartman committed Jun 19, 2012
1 parent 4488106 commit e054102
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/xgifb/vb_util.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "vgatypes.h"
#include "vb_util.h"

void xgifb_reg_set(unsigned long port, u8 index, u8 data)
{
Expand Down

0 comments on commit e054102

Please sign in to comment.