Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1093292rwb; Thu, 8 Dec 2022 06:43:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf7J+cSQZfieq1HBe+22QRWnwS7YJbgK9F5wf1vjrV3dJ/JewIjg1/LXQHpqH47spz1in0re X-Received: by 2002:a17:906:5409:b0:7b2:7b45:848f with SMTP id q9-20020a170906540900b007b27b45848fmr80589416ejo.129.1670510603107; Thu, 08 Dec 2022 06:43:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670510603; cv=none; d=google.com; s=arc-20160816; b=bz/ebI1dVsFogKbvjWQ5QUS+eQbpdpiswxKhTZwXQApRpAAuELuxIu6U6n//uf/luS FQUG2BmASaLsBjNGbtnwqoaO6bX8HNLugBD5nuKIYz7gWBaaNVC2cFXVXbqSxPaTdsu6 fu/msxAYKypwPGQLGNePrYNs9mp29KcDZDrzp896RXcb12Vqjb+xLofEtJdZvNBxJ0BA +5lW6sBmxUiQcqWdDJkbop5C4zdP60YPZz0mQDohS20tXU5GNjVoJlK9+n50k0whzARE ub7QUP9YCqWhdbCNavqRFAdLMuaxV4wrEmq1XZxCotNHjBjQuh0tZ2xdyHYkRSNKz9Sa eKRw== 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=YdXTjxxafj+/fk+QiasYLrtNa8JrGnmuEtrSTN6g0U8=; b=sSKDR+LJWV4G6nJqFB+cVf57RLjOPAb9q1Z/jM4kSRfGdydjxWkoPz6l2YhtWxh4r/ Nsg7GAwWm0k8n9jkx6nPrnFSrUyzHFpra33ozv+SXrOYUginz/YWdXjfO50KKeHFwWQ9 hIvVBVVkod2XdVpNSF5OzpOtYsR8gyrznQo55P10akKR2T8Xx/DM9XfaLzVkHKkpKtFF JwcgMseqdJLzrXp4jlkirwQHWBwCYokWn6YQoKUYp0kbRvVVq8NqxetR/i4Z0yuHvXvr gUygfNE7HTPvAHtBfrgJQ+BywJtdnsGEZggqaNXa4chsmIiz0+NN/zt+FUtOCuvixdpb mXeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="g/3gEWaj"; 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 nb10-20020a1709071c8a00b007a9d456583bsi20196508ejc.62.2022.12.08.06.43.05; Thu, 08 Dec 2022 06:43: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="g/3gEWaj"; 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 S230157AbiLHNz7 (ORCPT + 72 others); Thu, 8 Dec 2022 08:55:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229949AbiLHNzu (ORCPT ); Thu, 8 Dec 2022 08:55:50 -0500 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C3125E3F8; Thu, 8 Dec 2022 05:55:45 -0800 (PST) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 949522000E; Thu, 8 Dec 2022 13:55:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670507743; 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=YdXTjxxafj+/fk+QiasYLrtNa8JrGnmuEtrSTN6g0U8=; b=g/3gEWaj/cHS+tHgVRCvAn82K44d+3BFTfT9yviY62SC3vRdIdOiXe/KLqehG4OurA+PPY /Q5PPh5RJNS+YAb4sgZWKnK9UQz3DVlbbBt67j900034fy+sAeuOKT2uuYaZMgkrYlNoat 7SRajfUr6A0PF110iCtSY3jnkOxk9izvsi19KS+LqFlkPXP+tOFrUCeGUphMwEkbPDu1Ws frOBKv03r/R8Qj/jA/t/8CiksUPj97BDPIiKFm0+aYZEzJ9xnje12gwC/Bn4QlL3M/n9Va db1T/ayrjNzsiJtkHp3/XdeJaPW4zz4HiymHuu/APnagEh+A7AWOZNGz8+9thw== 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 v2 03/11] media: sunxi-csi: bridge: Declare subdev ops as static Date: Thu, 8 Dec 2022 14:55:04 +0100 Message-Id: <20221208135512.421903-4-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221208135512.421903-1-paul.kocialkowski@bootlin.com> References: <20221208135512.421903-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 bridge. Signed-off-by: Paul Kocialkowski --- drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c index 4517c0346eef..7fcb0815cb42 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c @@ -587,7 +587,7 @@ static const struct v4l2_subdev_pad_ops sun6i_csi_bridge_pad_ops = { .set_fmt = sun6i_csi_bridge_set_fmt, }; -const struct v4l2_subdev_ops sun6i_csi_bridge_subdev_ops = { +static const struct v4l2_subdev_ops sun6i_csi_bridge_subdev_ops = { .video = &sun6i_csi_bridge_video_ops, .pad = &sun6i_csi_bridge_pad_ops, }; -- 2.38.1