From: green <greenfreedom10@gmail.com>
To: Linux-OMAP List <linux-omap@vger.kernel.org>
Subject: Re: Latest git kernel won't build with muru.com N8x0 patch 2
Date: Thu, 26 Jun 2008 14:43:59 -0500 [thread overview]
Message-ID: <20080626194359.GB9938@swansys> (raw)
In-Reply-To: <7B4574D56E4ADF438756313E9A172A8708D67141@dlee01.ent.ti.com>
[-- Attachment #1: Type: text/plain, Size: 943 bytes --]
On Wed, 2008.06.25, 177, Hunter, Jon wrote:
> > > CC drivers/cbus/retu-wdt.o
> > > drivers/cbus/retu-wdt.c: In function 'retu_wdt_ioctl':
> > > drivers/cbus/retu-wdt.c:204: error: implicit declaration of function
> > > 'omap_readw'
> > > make[2]: *** [drivers/cbus/retu-wdt.o] Error 1
> > > make[1]: *** [drivers/cbus] Error 2
> > > make: *** [drivers] Error 2
>
>
> An implicit declaration of function error would imply that you are missing the appropriate header function. Hence, the compiler sees this as a declaration of a new function, instead of a function that has already been defined elsewhere.
>
> > I removed lines 203-205 of drivers/cbus/retu-wdt.c (after patching); it
> > seems
> > to have fixed the problem for me.
>
>
> Instead of removing the above lines, try including the header asm/io.h in the file drivers/cbus/retu-wdt.c. For example:
>
> #include <asm/io.h>
Okay, this works; thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2008-06-26 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 3:59 Latest git kernel won't build with muru.com N8x0 patch 2 green
2008-06-25 21:05 ` green
2008-06-25 21:50 ` Hunter, Jon
2008-06-26 19:43 ` green [this message]
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=20080626194359.GB9938@swansys \
--to=greenfreedom10@gmail.com \
--cc=linux-omap@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.