Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1175125rwb; Thu, 8 Dec 2022 07:34:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf5owO7mz0GY+OumnW3Q5MrTMiCV6MLUA8bCLJKQUYEpIohO8ND9VUekzmMZ93N17hnsoKlt X-Received: by 2002:a17:907:c208:b0:7ad:79c0:547a with SMTP id ti8-20020a170907c20800b007ad79c0547amr25395877ejc.41.1670513663670; Thu, 08 Dec 2022 07:34:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670513663; cv=none; d=google.com; s=arc-20160816; b=nGRp9foJQWkGthCMsLhdOtWl41Zp+u/DhQ+OIBibPhRkD+B6tK5nLPx2Dthk3wz0WK Ojd0T4Xxtbfj1Bc2ovvrLZ+UTQR0o60vhLuSnWwPPJ6WNLsFEjHHI66JWSWV5Vn2o6KM FlSfNB7T6KMiBMQcdR7fYPsgEUmmHwQi0E/ovrGa99ifSaGoj7TW0RAHCdoJlFIl0IQi oG+E2Tefg9G2vvxs5eqBqbJvMhC4tYSDfExVS+1n3fD+k2yVlgNjD+thdgtXZlE8yL9m yTy34jdGzOtZm3b8yAl4r6jI/RiEH2Udxz/1URhFcxgzLBhSUSHyO0hpn3rig324KxYP NVcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xGi8Taqna2w3VVFuAQ42j1jn1mocVgpg1u4jFmA8EU4=; b=sw/sPQxpubTea2apn423BMrBKitO3ZZDdvqL54CTQ2NtBkmDVmr1NnwanPenGwCALt BogY7O8CwMfHa4yA6Rrdl/6w9mcxxdS5iLkbixZiqsAugN1Ash32pt2h49apkmTwIIfb M9UZo+EXJAHSx0V/QuxgGPtWOCEoQgFg3/inpxHjPDpFOOc4CpGUD3OmdqC0aehHfQFi 7f2PG/4JUYphebtMABjhhIa0H+O8yKRaOwqyDpgpzEFl7qP7ccxWhTHRiQT8qgNr8ytM MUhZqlW6Cp+rLrMhwGgPj91ojjGlq6bDtgBsitMNcT2Lm8su+qQXcPCy78nDrdLdjKZF FXLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="j/a7kyFp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he18-20020a1709073d9200b0078dc5c888f1si17408874ejc.135.2022.12.08.07.34.00; Thu, 08 Dec 2022 07:34:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="j/a7kyFp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230135AbiLHOV2 (ORCPT + 72 others); Thu, 8 Dec 2022 09:21:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229982AbiLHOU6 (ORCPT ); Thu, 8 Dec 2022 09:20:58 -0500 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED9083EBE; Thu, 8 Dec 2022 06:20:47 -0800 (PST) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 4D963C000E; Thu, 8 Dec 2022 14:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670509246; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xGi8Taqna2w3VVFuAQ42j1jn1mocVgpg1u4jFmA8EU4=; b=j/a7kyFpKQ/In5J/o3vwp2eEahEkHf3nGSKMg5MlrAagi+OrfGZ+ZocI7knBcHPV1b/Ase nhwzi0dP0NylC2jggZ6n7Ja7zSoACw5SL/hEbWlRpn2eB9PrgVkq467w1JPgbMAoTiFTy/ uB92QJ+9PUfPgOMVUVaAP3yOiSJuRX50QHuhKUUZbH3AHLP/0zgI7Q+3kLnFFQ2mqrr/mN XKKuiiQHRKWqpXyyugjYUVo1uqg7wCKPO1PJGOMxco+0IuDQ3zOlVIi6cs6zkZfzciTMQK YwGv0/LPJVpaL1qvzLnVSYcCN1t+4XhlSF2HRD4pG0xb7KGaFL7aCt57XJgUlg== From: Paul Kocialkowski To: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Cc: Yong Deng , Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Thomas Petazzoni , Hans Verkuil , Sakari Ailus , Conor Dooley , Nathan Chancellor Subject: [PATCH v3 09/12] media: sun6i-isp: proc: Declare subdev ops as static Date: Thu, 8 Dec 2022 15:20:03 +0100 Message-Id: <20221208142006.425809-10-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221208142006.425809-1-paul.kocialkowski@bootlin.com> References: <20221208142006.425809-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The static keyword is missing in the v4l2 subdev ops definition for the proc. Signed-off-by: Paul Kocialkowski Fixes: e3185e1d7c14 ("media: staging: media: Add support for the Allwinner A31 ISP") --- drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c index 4f34c1bc8be9..1ca4673df2b3 100644 --- a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c +++ b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c @@ -342,7 +342,7 @@ static const struct v4l2_subdev_pad_ops sun6i_isp_proc_pad_ops = { .set_fmt = sun6i_isp_proc_set_fmt, }; -const struct v4l2_subdev_ops sun6i_isp_proc_subdev_ops = { +static const struct v4l2_subdev_ops sun6i_isp_proc_subdev_ops = { .video = &sun6i_isp_proc_video_ops, .pad = &sun6i_isp_proc_pad_ops, }; -- 2.38.1