summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2014-08-28 14:01:26 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 20:50:38 -0300
commit7102076c922e310f5a914a21fcd8d65fd8bd2417 (patch)
tree8a24b68da2d987ac4d2cf47f2db92ef1c3916e16 /drivers/media/radio
parenta9ae4692eda4b99f85757b15d60971ff78a0a0e2 (diff)
downloadop-kernel-dev-7102076c922e310f5a914a21fcd8d65fd8bd2417.zip
op-kernel-dev-7102076c922e310f5a914a21fcd8d65fd8bd2417.tar.gz
[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/radio')
-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 998919e..7b35e63 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>
OpenPOWER on IntegriCloud