All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Jim Davis <jim.epost@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next <linux-next@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	hverkuil@xs4all.nl, "m.chehab" <m.chehab@samsung.com>,
	linux-media <linux-media@vger.kernel.org>
Subject: Re: randconfig build error with next-20140828, in drivers/media/radio/radio-miropcm20.c
Date: Thu, 28 Aug 2014 23:23:59 +0530	[thread overview]
Message-ID: <20140828175359.GA16811@sudip-PC> (raw)
In-Reply-To: <CA+r1ZhgU93EfHFNCG60CZ-cJh-9TLN5WcTYMwvErsXFZNgKGLA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

On Thu, Aug 28, 2014 at 09:17:14AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
> 
>  CC [M]  drivers/media/radio/radio-miropcm20.o
> drivers/media/radio/radio-miropcm20.c: In function ‘rds_waitread’:
> drivers/media/radio/radio-miropcm20.c:90:3: error: implicit
> declaration of function ‘inb’ [-Werror=implicit-function-declaration]
>    byte = inb(aci->aci_port + ACI_REG_RDS);
>    ^
> drivers/media/radio/radio-miropcm20.c: In function ‘rds_rawwrite’:
> drivers/media/radio/radio-miropcm20.c:106:3: error: implicit
> declaration of function ‘outb’ [-Werror=implicit-function-declaration]
>    outb(byte, aci->aci_port + ACI_REG_RDS);
>    ^
> cc1: some warnings being treated as errors
> make[3]: *** [drivers/media/radio/radio-miropcm20.o] Error 1
> make[2]: *** [drivers/media/radio] Error 2
> make[1]: *** [drivers/media] Error 2

Hi,
Can you please try the attached patch , for me it solved the error/

thanks
sudip


[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 432 bytes --]

diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c
index 998919e..3309f7c 100644
--- a/drivers/media/radio/radio-miropcm20.c
+++ b/drivers/media/radio/radio-miropcm20.c
@@ -36,6 +36,7 @@
 #include <media/v4l2-fh.h>
 #include <media/v4l2-event.h>
 #include <sound/aci.h>
+#include<linux/io.h>
 
 #define RDS_DATASHIFT          2   /* Bit 2 */
 #define RDS_DATAMASK        (1 << RDS_DATASHIFT)

      reply	other threads:[~2014-08-28 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 16:17 randconfig build error with next-20140828, in drivers/media/radio/radio-miropcm20.c Jim Davis
2014-08-28 17:53 ` Sudip Mukherjee [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=20140828175359.GA16811@sudip-PC \
    --to=sudipm.mukherjee@gmail.com \
    --cc=hverkuil@xs4all.nl \
    --cc=jim.epost@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    --cc=sfr@canb.auug.org.au \
    /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.