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>
@@ -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},
@@ -4,7 +4,7 @@
#include "vb_table.h"
-
+#include "vb_setmode.h"
#define IndexMask 0xff
#define TVCLKBASE_315_25 (TVCLKBASE_315 + 25)
@@ -1,4 +1,5 @@
#include "vgatypes.h"
+#include "vb_util.h"
void xgifb_reg_set(unsigned long port, u8 index, u8 data)
{