Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2956869pxb; Tue, 12 Jan 2021 02:50:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvojtaOPuVPt9gH9nxXZUnPcwVk44AypSNS1bLCae4saNHQ/gNFxOVZFowAJQlvOjV+XRm X-Received: by 2002:aa7:d915:: with SMTP id a21mr2826193edr.251.1610448645492; Tue, 12 Jan 2021 02:50:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610448645; cv=none; d=google.com; s=arc-20160816; b=Ye/hVwH9rdf5qrxFjBaluyXJv41Z3tf9hkdGmqkZykdMs/hTG1CHb14fmR3j6f8aWR LvcPC/6+XWuvAXw/bZbV1Vv4bzFLvjAy4KQMmSEvLTds+EKIuPOrwTHlbUUseeKU056z e88IotBpz2aTPT1fxwk1MhZ67bQ0UHFCD7L3fQIuEum0fmSmVNqlTNeHrnug5PkoJn3Z dS1zr788pMIbN/qDpL+Qy7NDMhlvaDDEOAoX66LF22iF5Wb4bhOYp1g7JTLxE1XSzwdD bc22BZpUrlojf2cV4AP9DFYZXMK5UT0AD9uTDoMz+H6a5JPtXC2Yh8RWXtyTkPldT084 5zOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=hIs0LBOoU9zLW2aMDdwNMZnkSA5IAFuXQeDKUk8aGFk=; b=we218h1TmZR5fZ6I/CvV/+Msm3L7slbg/W/0domLehRfm8ANTQ2LtscKI+wtyFMInh Xa4y6nHvVoyP5mefFBZK+TNQ6GKVxB78eTRW3iAnzxB/xURvgvfP/MbfUYU2HJoZrHpm 8v2WiL0pNEIatrlopcU0s0ygT9JIrA6AuiPZoKWjCE5E9sWC0lwZMP8h+PVtO8sBFtyZ VO5h30tgYiyfdH/1mxE8SuiGYZli/YDiuNGuOENs5gUYSwfSOmW7hnz7qLiplL5UVidg PpE6FJHMG4kMdnNIbe/+bsWl4zRrDWMFIfNr7WeuyOaIc0RjEY9eYhP0nRIzmMEzzs7u +BRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si976168ejm.276.2021.01.12.02.50.21; Tue, 12 Jan 2021 02:50:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728243AbhALBRF (ORCPT + 99 others); Mon, 11 Jan 2021 20:17:05 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:11379 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726246AbhALBRE (ORCPT ); Mon, 11 Jan 2021 20:17:04 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DFCLL32HMz7Syk; Tue, 12 Jan 2021 09:15:22 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.498.0; Tue, 12 Jan 2021 09:16:12 +0800 From: Zou Wei To: , CC: , , Zou Wei Subject: [PATCH -next] media: ti-vpe: cal: Mark cal_camerarx_media_ops with static keyword Date: Tue, 12 Jan 2021 09:27:14 +0800 Message-ID: <1610414834-92332-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/media/platform/ti-vpe/cal-camerarx.c:783:32: warning: symbol 'cal_camerarx_media_ops' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/media/platform/ti-vpe/cal-camerarx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/ti-vpe/cal-camerarx.c b/drivers/media/platform/ti-vpe/cal-camerarx.c index 1920f36..dd48017 100644 --- a/drivers/media/platform/ti-vpe/cal-camerarx.c +++ b/drivers/media/platform/ti-vpe/cal-camerarx.c @@ -780,7 +780,7 @@ static const struct v4l2_subdev_ops cal_camerarx_subdev_ops = { .pad = &cal_camerarx_pad_ops, }; -struct media_entity_operations cal_camerarx_media_ops = { +static struct media_entity_operations cal_camerarx_media_ops = { .link_validate = v4l2_subdev_link_validate, }; -- 2.6.2