From patchwork Mon Nov 26 22:01:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jasmin J." X-Patchwork-Id: 10699211 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B76CA109C for ; Mon, 26 Nov 2018 22:01:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BA912A677 for ; Mon, 26 Nov 2018 22:01:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BC3C2A67C; Mon, 26 Nov 2018 22:01:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C60B2A677 for ; Mon, 26 Nov 2018 22:01:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727049AbeK0I5D (ORCPT ); Tue, 27 Nov 2018 03:57:03 -0500 Received: from smtp.anw.at ([195.234.102.72]:51966 "EHLO smtp.anw.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbeK0I5D (ORCPT ); Tue, 27 Nov 2018 03:57:03 -0500 Received: from hoppel.217.196.72.190 (anwhome.anw.at [195.234.103.23]) by smtp.anw.at (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id wAQM1NHG023871; Mon, 26 Nov 2018 23:01:23 +0100 From: "Jasmin J." To: linux-media@vger.kernel.org Cc: hverkuil@xs4all.nl, mchehab+samsung@kernel.org, jasmin@anw.at Subject: [PATCH] media: adv7604 added include of linux/interrupt.h Date: Mon, 26 Nov 2018 23:01:09 +0100 Message-Id: <20181126220109.29743-1-jasmin@anw.at> X-Mailer: git-send-email 2.17.1 X-Antivirus: checked in 0.018sec at smtp.anw.at ([195.234.102.72]) by smf-clamd v1.2.1 - http://smfs.sf.net/ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jasmin Jessich 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 --- drivers/media/i2c/adv7604.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#include #include #include