From: Jasmin Jessich Date: Mon, 26 Nov 2018 22:01:09 +0000 (-0500) Subject: media: adv7604 added include of linux/interrupt.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=191cf8b0746a5b0d5b3918fe83fa94ec3232b53f;p=linux.git 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 43d27edac6367..dfb4400f04459 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include