From patchwork Wed Sep 26 13:01:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 147582 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp694607lji; Wed, 26 Sep 2018 06:02:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV61mnTKlpZ5pWfCdRWzVDVvjP12tFGv+5OAOOENIqxbZuu9ZoT0f2Ef8z3a2FTPoevO9I7s0 X-Received: by 2002:a62:cc83:: with SMTP id j3-v6mr6215436pfk.255.1537966949927; Wed, 26 Sep 2018 06:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537966949; cv=none; d=google.com; s=arc-20160816; b=TTkzA3ON48AWmjSm1teiFuRx8/u6EGveSNsIbMBJ5F8FFnvwvDMPglOaqUSrDj0xt6 nsmrM+FDbN6AJ5mQP1+AfoT6DwzUhdPEGM2yGl9J5loAHW4J6mtZlyIy7OKLZmJLoO3l KpgoFMbzE4HhbAkerFARqxG+cICWE/Jt2aJAcEE7GnKSh8GtQHx7zVyH6/Lcmc6bkMxs /e+zRKTxIkT675MKZFXnxmaz+kIZJ+GsS4NJVPFQ/mhzdmQBvcNLZmNNDtW+tQIrcVhY 9ERjbICARhMq3mTtwck4A/j6dElQpxCtJWUgNpCaJwYROy1DvaogHJlw1BYjAMll1ROC cmRw== 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=K0GzD6Dz8+f7qsbMLgwuskuEaz4rPXs5vCkI/EEK1a55FEYhDq+8HeKcqrja0Geg3s YK/tdNf/txwbhyM3CCc3tkbOC2TUyc83PKTHcne1ITNxAvCcYd9uhltvKPDzDNvPRMLl UbbadlwCIRlp49eUjHqZktPh/D0vKrGNLp8u52WVerWTUEucqUTqMMBkyyiJTZMthCd5 TEFE14Z7zsHzZBldB3oCJ/+QseeyUHMbdDsExmq+8+95bTcLkDcEZ68zCtlLvbsJJ+JY 44rU/dA74rK+lVBWH0oaizmnP+XJP0DENJA1HeFTDrtVFHMCNLvw/YK7ECJfTKLqx5LW 9kKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-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 v123-v6si4829348pfb.324.2018.09.26.06.02.29; Wed, 26 Sep 2018 06:02:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-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-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727136AbeIZTPV (ORCPT + 4 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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(+) -- 2.18.0 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