[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d3f4c36b93d1247bbd6697883e8acf12f1936098.1340016625.git.magomez@igalia.com>
Date: Mon, 18 Jun 2012 13:12:05 +0200
From: Miguel Gómez <magomez@...lia.com>
To: arnaud.patard@...-net.org, gregkh@...uxfoundation.org,
aaro.koskinen@....fi, dan.carpenter@...cle.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Miguel Gómez <magomez@...lia.com>
Subject: [PATCH 7/8] Staging: xgifb: Fix sparse warnings.
Add include files with function definitions to avoid sparse warnings.
Signed-off-by: Miguel Gómez <magomez@...lia.com>
---
drivers/staging/xgifb/vb_init.c | 1 +
drivers/staging/xgifb/vb_setmode.c | 2 +-
drivers/staging/xgifb/vb_util.c | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c
index 64d1311..143957f 100644
--- a/drivers/staging/xgifb/vb_init.c
+++ b/drivers/staging/xgifb/vb_init.c
@@ -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},
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index b1713d3..479362e 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -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)
diff --git a/drivers/staging/xgifb/vb_util.c b/drivers/staging/xgifb/vb_util.c
index 5c93a22..1b452f8 100644
--- a/drivers/staging/xgifb/vb_util.c
+++ b/drivers/staging/xgifb/vb_util.c
@@ -1,4 +1,5 @@
#include "vgatypes.h"
+#include "vb_util.h"
void xgifb_reg_set(unsigned long port, u8 index, u8 data)
{
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists