lkml.org 
[lkml]   [2014]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers: media: radio: radio-miropcm20.c: include missing header file
On Mon, Sep 08, 2014 at 10:07:45AM +0200, Hans Verkuil wrote:
> On 09/06/2014 01:24 PM, Sudip Mukherjee wrote:
> > On Fri, Aug 29, 2014 at 01:38:01PM +0530, Sudip Mukherjee wrote:
> >> with -Werror=implicit-function-declaration build failed with error :
> >> error: implicit declaration of function 'inb'
> >> error: implicit declaration of function 'outb'
> >>
> >> Reported-by: Jim Davis <jim.epost@gmail.com>
> >> Signed-off-by: Sudip Mukherjee <sudip@vectorindi.org>
> >> ---
> >>
> >> Jim reported for next-20140828 , but the error still persists in next-20140829 also.
> >>
> >>
> >> drivers/media/radio/radio-miropcm20.c | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> 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)
> >> --
> >> 1.8.1.2
> >>
> >
> > gentle ping.
> > build fails on next-20140905 also with the attached config (-Werror=implicit-function-declaration)
>
> I hadn't forgotten this. However, I will be taking the same patch from Randy Dunlap
> instead of yours since his commit log was formatted better, so less work for me :-)
>
i didnt see his patch before , but now i saw. Indeed his commit log is much more explanatory than mine.

thanks
sudip


> Regards,
>
> Hans
>
> >
> > thanks
> > sudip
> >
>


\
 
 \ /
  Last update: 2014-09-08 11:01    [W:0.043 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site