Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25BE0C74A4B for ; Mon, 13 Mar 2023 20:54:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229834AbjCMUyB (ORCPT ); Mon, 13 Mar 2023 16:54:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbjCMUxy (ORCPT ); Mon, 13 Mar 2023 16:53:54 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C39797F01E; Mon, 13 Mar 2023 13:53:40 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-5416949b35aso139740987b3.13; Mon, 13 Mar 2023 13:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678740820; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YZpqs5siL4Ymiuu8Rnql+zUqmGWcS+ZbAUBpWJ9W4K8=; b=KDTS7fZaclyphgJmqC5N15uD3+Gq9l4SliqQgO+pQM5PW7JyjCgsme6Ge6zXtsqVxx AW1l83xNB2ZVX6w+QoQcccw87e1AscXRvCCeZLy1nzrLKUU1XU34faaYkOiDyN24nAY+ v6AuBphGSYHv2//9OqQZjdq/Jw5V0E+1129tns66JhFazayIQv6o62288nii6Zp5HB1N TVhCN3L0l+bFus5xhnnmZ3CJCowu7SEkSE+SVTPEf73wBpgQuZlxkq1PIFew5GxN8BkQ 9o66TpI9Ei8fIKOQHLzaO+QfgzHm0YuUjG7Vicxxh0QA7Gdwclqym4Dwdmdr6Txlz323 wNoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678740820; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YZpqs5siL4Ymiuu8Rnql+zUqmGWcS+ZbAUBpWJ9W4K8=; b=4rN0ia/kPPVPe+e2ORxbmTnTESz7QbvJD1xelbFdxTkHGETjy2LUoYr/m3dkYaN0nG Wu98ipIwuypiNL8GuqJOnqOnsXfnacHFIZIsq1JEd6wZokavRpMWSHAd3pQEpyO1y462 jQMRF2Ublqs81b3Uwzbk7zIRTm/VhYILoQEYg/iO39VUQTfpTb2SKYNvF1PtUSAIbBLC WQ9LiCHC3muxtzGPrTwweC3H65D6lzqGT/++O2of6C0i+9m33WTyDAFPC9+sw9lRojAI OonClbCUOdFg5VrIrW/1RV7gXVoFoaLsYrkJaU/hPjwDRlw/xMSrm/5n9UvTKDl/6qz6 9ONA== X-Gm-Message-State: AO0yUKXvXDGxVQGYE6y8qBKIYOtWRDX69JR95r/z9IKQPr5davVp7u5e 3Izb8CQHMAvh19XpRM0Z+D1CBuikflldxpfrRp0= X-Google-Smtp-Source: AK7set+bkApoxdat3t4mM5yzrnKSLYecVccpJe9yYCQX9Rk8pbyyHXlR/QgC7cJyNYCPNbj0eloQSjFebG86/6a1CaA= X-Received: by 2002:a81:a9c6:0:b0:52e:f77c:315d with SMTP id g189-20020a81a9c6000000b0052ef77c315dmr8791180ywh.3.1678740819961; Mon, 13 Mar 2023 13:53:39 -0700 (PDT) MIME-Version: 1.0 References: <20230312131318.351173-1-krzysztof.kozlowski@linaro.org> <20230312131318.351173-11-krzysztof.kozlowski@linaro.org> In-Reply-To: <20230312131318.351173-11-krzysztof.kozlowski@linaro.org> From: "Lad, Prabhakar" Date: Mon, 13 Mar 2023 20:53:13 +0000 Message-ID: Subject: Re: [PATCH 11/28] media: platform: ti: am437x: drop of_match_ptr for ID table To: Krzysztof Kozlowski Cc: Joe Tessler , Hans Verkuil , Mauro Carvalho Chehab , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Thierry Reding , Jonathan Hunter , Manivannan Sadhasivam , Michael Tretter , Pengutronix Kernel Team , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Rui Miguel Silva , Wenyou Yang , Bin Liu , Matthias Brugger , AngeloGioacchino Del Regno , Minghsiu Tsai , Houlong Wei , Andrew-CT Chen , Andrzej Pietrasiewicz , Jacek Anaszewski , Sylwester Nawrocki , Patrice Chotard , Yong Deng , Paul Kocialkowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Ezequiel Garcia , Philipp Zabel , Sean Young , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-rockchip@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 12, 2023 at 1:13=E2=80=AFPM Krzysztof Kozlowski wrote: > > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it might not be relevant here). This > also fixes !CONFIG_OF error: > > drivers/media/platform/ti/am437x/am437x-vpfe.c:2620:34: error: =E2=80= =98vpfe_of_match=E2=80=99 defined but not used [-Werror=3Dunused-const-vari= able=3D] > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/media/platform/ti/am437x/am437x-vpfe.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Lad Prabhakar Cheers, Prabhakar > diff --git a/drivers/media/platform/ti/am437x/am437x-vpfe.c b/drivers/med= ia/platform/ti/am437x/am437x-vpfe.c > index 2dfae9bc0bba..fe89b8e250e7 100644 > --- a/drivers/media/platform/ti/am437x/am437x-vpfe.c > +++ b/drivers/media/platform/ti/am437x/am437x-vpfe.c > @@ -2629,7 +2629,7 @@ static struct platform_driver vpfe_driver =3D { > .driver =3D { > .name =3D VPFE_MODULE_NAME, > .pm =3D &vpfe_pm_ops, > - .of_match_table =3D of_match_ptr(vpfe_of_match), > + .of_match_table =3D vpfe_of_match, > }, > }; > > -- > 2.34.1 >