Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp729603imm; Wed, 26 Sep 2018 06:02:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV626233FB/eRF6h4zFjdv0hyhlz0m6uP0k3X56DcnBru0co5ATbrtFS8ZqY8l84fo8XUIFqP X-Received: by 2002:a63:4745:: with SMTP id w5-v6mr5714852pgk.377.1537966971365; Wed, 26 Sep 2018 06:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537966971; cv=none; d=google.com; s=arc-20160816; b=fKAZOBTGASrLrndWijdF6FulhAnZql0yBOm70kGEQgUQKNALSsnLvSTrvmMgH3fv+3 B6JQ4XC54twhDj4c88pCrcWJEAMzrJP4iH5Q1ke2ysfFD8et+6Cb9INlk4dUbbEJPR4k 66DI68l1qVCaZa3YHzeQwjoSylTfAEtTtRovMvgtAYkzndYc4a/XPaMEe5aMcaMigjwj UdLUa7rgdy1eCbOHyvawz1idm/p4dj1MvDvIXY6N/F+sKW9b39tpxXyS7qT+51Ueqtii pcCbd92UKM20QenBrzHfIfNfjWLr2bPZsbxyc+sS95M1SIgvOCWf5B6pC6Uf0wbgS1Ll nwAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=IVwqyvpbm/wWHcMM2A9sI9VBFC2r30RRCY8Zs1ddz2E=; b=CMoEOAShh5Apz5WNs8ga1GVtKBqrLQ1bhy2m7a6+D1fIAB7qfNk3KuzBDIzW2eDxR2 jGVud+DcFbsZSyzP3zNeqSinzBu2zNhyns1WIuiMfV2mobSRIe+AjfR/RpsOPAf+OCTC ZVO2k2LMLcL9bNob6mEzpuC5kia8pAHu0XMD+DXOaRr3QndUe3FW8708hnS0Oh1zqdsB 4MUZnkUzTChmXgrJDiSn2h0NQKr68Zv4RDRbQK73CvvcjrdsBGTjgo/BUNvOyLGfqE0p Ls6467tiv58jwEg1SGdp72Jh36tmZqAjBdT3eaOGS/LHcDvgdC0y2hlA1EAZuUeg4+L5 c1Yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si5317675pla.436.2018.09.26.06.02.35; Wed, 26 Sep 2018 06:02:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbeIZTPV (ORCPT + 99 others); Wed, 26 Sep 2018 15:15:21 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:42677 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbeIZTPU (ORCPT ); Wed, 26 Sep 2018 15:15:20 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1ML9i0-1gMGcp2KOo-00IDrL; Wed, 26 Sep 2018 15:01:41 +0200 From: Arnd Bergmann To: Philipp Zabel , Mauro Carvalho Chehab Cc: Arnd Bergmann , Hans Verkuil , Randy Dunlap , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: imx-pxp: include linux/interrupt.h Date: Wed, 26 Sep 2018 15:01:26 +0200 Message-Id: <20180926130139.2320343-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:RXGvj4P/YjKUiKE6/HoZ4HK4U71GNkYXs0/1eESTVmldi6Wl6Bg n4fjYkfwa22sI9lb+lf24QgCgbWzU2KC/3aXKXgevUjTp82ugGECDHKeu5XYxSBi1XUKiVo CM3XodFjqww4xTmilnqM2vGtJqAbpA7DOv3/W1DAckB37Tv3Ez8KiL4bN5w14Atyqx41n66 28szDInIOSi+iJ3kSC2kw== X-UI-Out-Filterresults: notjunk:1;V01:K0:OgXzWp1j770=:sIkb5Kht600B0WwbcfrY0U GHvKGc92dS43B+rbqTPLiQT1bXup/fFf/I81i3FXkaKkmLqDJydQvZBsARCs1Ni8o9mgN9PTU ju4ecpBUFZ9jiczJde3hqriXc5KGyaTr8X1vTzxSL0YJ2ocKgvSMhSJBtwW9+Qwzhv7w/YN11 q/iIvaaHN/snkaZFHKg1vwuFBBpHBy5RAG9F9Z2eFVJKhxac1PvxAKD8R/Y9RgMBNCR64dlUL Y9BZEuEtLp9VJq397pwXppc1ynE55eoDk7Di7nTzi2Urmwz96EJi1Ec4063ZCvciblL8+ZnbM vDkQk13fUKy5fmgygkI2yILFbjWeVs+VRaC18wa31E+0vhFUss0GaxEqYS4Xp/Zn9c/Z78kM9 n9mj8cNvFYNVmqgnpQ4p6Dghe3q4sdZ7tOXkNliOZ3MIo2D6Vg9lJyPE66+pEMIJDDTXp5hUl AJHPg6oQEn0ykpgVKhleCRhtoYh94BMBDvtMnxxEaqUzVQjE94uGivQwcQdYBxuu0W1Es/W7a /KQ7xxhnN8vf3MfhHEISuIoSKChx8ojwzl2u5Hha8JPmZFnUZ51GLs3u3NGs+lD8YwI0Lcsjt m6mZE8rxKcUjMTjyK89qw4vk0rFL67kxllJl7KRexCfaASIOO2n0pyU+jPJTpbew/SGGd3m7l I4T/Pjn5J0hrWMjBMjjTxA28zYUtvoASlOJWflShI0xCQjEZ+/KBshxrbKIo3jxzaEdM= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added driver fails to build in some configurations due to a missing header inclusion: drivers/media/platform/imx-pxp.c:988:8: error: unknown type name 'irqreturn_t' static irqreturn_t pxp_irq_handler(int irq, void *dev_id) ^~~~~~~~~~~ drivers/media/platform/imx-pxp.c: In function 'pxp_irq_handler': drivers/media/platform/imx-pxp.c:1012:9: error: 'IRQ_HANDLED' undeclared (first use in this function); did you mean 'IRQ_MODE'? return IRQ_HANDLED; ^~~~~~~~~~~ IRQ_MODE drivers/media/platform/imx-pxp.c:1012:9: note: each undeclared identifier is reported only once for each function it appears in drivers/media/platform/imx-pxp.c: In function 'pxp_probe': drivers/media/platform/imx-pxp.c:1660:8: error: implicit declaration of function 'devm_request_threaded_irq'; did you mean 'devm_request_region'? [-Werror=implicit-function-declaration] ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, pxp_irq_handler, ^~~~~~~~~~~~~~~~~~~~~~~~~ devm_request_region drivers/media/platform/imx-pxp.c:1661:4: error: 'IRQF_ONESHOT' undeclared (first use in this function); did you mean 'SA_ONESHOT'? IRQF_ONESHOT, dev_name(&pdev->dev), dev); Fixes: 51abcf7fdb70 ("media: imx-pxp: add i.MX Pixel Pipeline driver") Signed-off-by: Arnd Bergmann --- drivers/media/platform/imx-pxp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/imx-pxp.c b/drivers/media/platform/imx-pxp.c index 229c23ae4029..b76cd0e8313c 100644 --- a/drivers/media/platform/imx-pxp.c +++ b/drivers/media/platform/imx-pxp.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include -- 2.18.0