All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Anatolij Gustschin <agust@denx.de>
Subject: fix missing udelay include in mb862xx-i2c
Date: Wed, 25 May 2011 20:06:55 -0400	[thread overview]
Message-ID: <20110526000655.GB21913@redhat.com> (raw)

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@redhat.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"

             reply	other threads:[~2011-05-26  0:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26  0:06 Dave Jones [this message]
2011-05-26  0:10 ` fix missing udelay include in mb862xx-i2c Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110526000655.GB21913@redhat.com \
    --to=davej@redhat.com \
    --cc=agust@denx.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.