summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2014-08-28 19:01:26 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 01:50:38 +0200
commit7102076c922e310f5a914a21fcd8d65fd8bd2417 (patch)
tree8a24b68da2d987ac4d2cf47f2db92ef1c3916e16 /drivers/media
parent[media] vb2: fix plane index sanity check in vb2_plane_cookie() (diff)
downloadlinux-7102076c922e310f5a914a21fcd8d65fd8bd2417.tar.xz
linux-7102076c922e310f5a914a21fcd8d65fd8bd2417.zip
[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>