[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110526000655.GB21913@redhat.com>
Date: Wed, 25 May 2011 20:06:55 -0400
From: Dave Jones <davej@...hat.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
Cc: Anatolij Gustschin <agust@...x.de>
Subject: fix missing udelay include in mb862xx-i2c
drivers/video/mb862xx/mb862xx-i2c.c: In function ‘mb862xx_i2c_wait_event’:
drivers/video/mb862xx/mb862xx-i2c.c:25:3: error: implicit declaration of function ‘udelay’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
Signed-off-by: Dave Jones <davej@...hat.com>
diff --git a/drivers/video/mb862xx/mb862xx-i2c.c b/drivers/video/mb862xx/mb862xx-i2c.c
index cb77d3b..87c79ee 100644
--- a/drivers/video/mb862xx/mb862xx-i2c.c
+++ b/drivers/video/mb862xx/mb862xx-i2c.c
@@ -12,6 +12,7 @@
#include <linux/fb.h>
#include <linux/i2c.h>
#include <linux/io.h>
+#include <asm/delay.h>
#include "mb862xxfb.h"
#include "mb862xx_reg.h"
--
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