Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1034303rwb; Thu, 8 Dec 2022 06:06:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf4kARR5BtD3i4J+OLIV/EuJlF4f6hanTyw0/way1MXP3Fn9VlSVGH9hbuwGptscdmLpUmGI X-Received: by 2002:a63:311:0:b0:478:ba6c:3879 with SMTP id 17-20020a630311000000b00478ba6c3879mr15854865pgd.440.1670508381314; Thu, 08 Dec 2022 06:06:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670508381; cv=none; d=google.com; s=arc-20160816; b=wYNxNFAO6lvnsaXc4znRu/x9P6Jy13ExjI161iDcSv+RAkSG7XnvCxz7WXB2g2F7Kf jYbwq63Rco90rGzjb4mNHpkWo/V8nP5cLDsU0Ra1bf1qJgF8oYZdnpr5LigWtWRjKT6X ocs4Egjprj02TvBaNlHsIWWgRVI3yBE49LuqO0kIeVTMD/BU4nD+LQ6eM+B4JdQrgBy4 OL+aurLEP4nUdaj2bPjjFdrxQ1y3KDjPtNhTSydNZLFwQec2mjq3F7zmSElbHKvS6b1X VYqObIeV3zETFp2Njm0cSnTQXTBmi2BAH7S6iSAjHUGJ30MDAydPWYBPg6ygC3I3CLtm eMhw== 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=Ez+xaGXRX17SiCVJoDh8t8wWoiu7lx7UzmAXmqGgMuE=; b=GZ9OHf+Tqa0ihD4YQDfszVjXDxBSv0av7mswwz7jFViTIprnsVnKkEH+J8X6D9KFha XjRZWAM6Ml3jpQ+9yEijWZ92zqyj3nU7FVD2CCpe9Ea5Sbo9roW+842LUvZbLZcWpyiV xGwR5OZT3QkOEAY6VqJX4q2zGgafB0RSEPzZLwdweqhQhEfykrZcjUzfN57AAjGZO2al YdZ9R7Lnae6G7aHoqdsyES+KMDhZuOf6nAAyVdJXBGxSh9jWUzjyeYJXPEQe2oN+5RZs U1EQMf9Ce7YsRkaQptFv7/6EBa8hYn7odj0gAwQbMypDmJUAvppNUYNfZ2tpHGvpIq5y /Bdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=NNRxjaAU; 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 h23-20020a63f917000000b004786b79642esi22097371pgi.649.2022.12.08.06.06.11; Thu, 08 Dec 2022 06:06:21 -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=NNRxjaAU; 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 S230304AbiLHN43 (ORCPT + 72 others); Thu, 8 Dec 2022 08:56:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230301AbiLHN4M (ORCPT ); Thu, 8 Dec 2022 08:56:12 -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 0CB4594926; Thu, 8 Dec 2022 05:55:57 -0800 (PST) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D5D9020012; Thu, 8 Dec 2022 13:55:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670507756; 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=Ez+xaGXRX17SiCVJoDh8t8wWoiu7lx7UzmAXmqGgMuE=; b=NNRxjaAUVStw8vOCJt2SvUiSvRS88BOkRQ8Z/wcWoiW3pwo9rtRFGjLRoUq8AeKWtf59gq F8EhazONxd1IzHMblQ/8tjBHBisg6eexFhfFMN3MFlAm+QsKr3JKz5cyBHoMDNYu53kRmS NJo+anYNlckuKOQEhE1WEh0FCWCTB/HJdITEkgZS4IDm/IwTH399h6PrLyQmDfi4C9Rq/A /MSGgd+9Uja1AbeZTfHQ5jogZjQljkycl7iOwmm5OYsXI+pEgHkkGk9HzJ2wjjSJcM6NnX YMLHsXA+C7oIg7uAPZSNdViicOsle0mV4O9wk9kzOQtn5M1gYg4h8Kl3WtYeqA== 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 09/11] media: sunxi-isp: proc: Declare subdev ops as static Date: Thu, 8 Dec 2022 14:55:10 +0100 Message-Id: <20221208135512.421903-10-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 proc. Signed-off-by: Paul Kocialkowski --- 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