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

From: Sudip Mukherjee
Date: Fri Aug 29 2014 - 04:08:36 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/