diff mbox

[-next] media/radio: fix radio-miropcm20.c build with io.h header file

Message ID 53FF6066.5020106@infradead.org (mailing list archive)
State New, archived
Headers show

Commit Message

Randy Dunlap Aug. 28, 2014, 5:01 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix build errors in radio-miropcm20.c due to missing header file:

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]
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]

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/media/radio/radio-miropcm20.c |    1 +
 1 file changed, 1 insertion(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: linux-next-20140828/drivers/media/radio/radio-miropcm20.c
===================================================================
--- linux-next-20140828.orig/drivers/media/radio/radio-miropcm20.c
+++ linux-next-20140828/drivers/media/radio/radio-miropcm20.c
@@ -27,6 +27,7 @@ 
 
 #include <linux/module.h>
 #include <linux/init.h>
+#include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/videodev2.h>
 #include <linux/kthread.h>