summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2014-08-28 21:01:26 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 03:50:38 +0400
commit7102076c922e310f5a914a21fcd8d65fd8bd2417 (patch)
tree8a24b68da2d987ac4d2cf47f2db92ef1c3916e16 /drivers/media
parenta9ae4692eda4b99f85757b15d60971ff78a0a0e2 (diff)
downloadlinux-7102076c922e310f5a914a21fcd8d65fd8bd2417.tar.xz
[media] media/radio: fix radio-miropcm20.c build with io.h header file
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> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/radio-miropcm20.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c
index 998919e97dfe..7b35e633118d 100644
--- a/drivers/media/radio/radio-miropcm20.c
+++ b/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>