Re: [PATCH] drivers: media: radio: radio-miropcm20.c: include missing header file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> >> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxx>
> >> ---
> >>
> >> 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
> > 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux