summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2018-11-26 17:01:09 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-03 14:42:59 -0500
commit191cf8b0746a5b0d5b3918fe83fa94ec3232b53f (patch)
tree3592dedcfbfd44427ff754eeee7a69abceb6a84d /drivers/media
parentba08e61a7990976a35fe38b2d7790090150186e9 (diff)
media: adv7604 added include of linux/interrupt.h
On older Kernels (prior to 4.15) irqreturn_t and devm_request_threaded_irq is not defined when compiling adv7604.c. It seems more recent Kernels include it via another header which is included by adv7604.c. Now we include linux/interrupt.h explicitly to get the type also defined for Kernels prior to 4.15. Signed-off-by: Jasmin Jessich <jasmin@anw.at> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/i2c/adv7604.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c
index 43d27edac636..dfb4400f0445 100644
--- a/drivers/media/i2c/adv7604.c
+++ b/drivers/media/i2c/adv7604.c
@@ -27,6 +27,7 @@
#include <linux/videodev2.h>
#include <linux/workqueue.h>
#include <linux/regmap.h>
+#include <linux/interrupt.h>
#include <media/i2c/adv7604.h>
#include <media/cec.h>