Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1865257ybh; Tue, 14 Jul 2020 09:14:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKkSTOTGt/Pmw1dKks5dSwVch5VzIoZiuuF+b8J5JmXxPOEMfQFftrGEI0UJnsSgRZV6kF X-Received: by 2002:a17:906:71d4:: with SMTP id i20mr5477985ejk.533.1594743284621; Tue, 14 Jul 2020 09:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594743284; cv=none; d=google.com; s=arc-20160816; b=c1TqVsWiuo/bIN+KpNuwKssQbGq0N39d/BwDHRh7GpCiZOrsgj1XKG+4ltwXwU3swP +HtNVVLlpfa8WhJd8PRv4d/LmhVF4Cg9gECHjF75R2PwECfODMVagmWgm6fmCAcUT3O7 JJ0v7o4HZCOSqtwPs1xqoUjbxr/xY73P87uebCILoMj1mo5+Qq7i/haJdTcTs6Yoln8W vdZRHvfHi9T3QxXslhj15rCKqscM9oqXUW6FIld8p9zmsCorRhI5GiOmFglpo1mg+h4Q kSi5r0NGOp1ZFuyeRDlrPwawCvG7iNFZN0eJVR623WMvk4rEK7QlDo27DMRhfWY8EiT+ e1RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:date:from:dkim-signature; bh=0pMER59zTEFCPAzYOXTvQjgFvMsQNU2wxnyfGlWXCK8=; b=WrHaCDYVUBGhHEtRsyT76yWQuWKLQ3i37WNPd053Znt9o3tYAhulxG0GOd72UIkcG2 HBUfngeUp4pjIzZW+a7QsSuIFoCScfGvCfVLjxj62OEAnauvm92pReb36L9YT0pmaT/R yHmO2QdqCfng6bAWuBYAy7+Bonx1Q0ojlPZ4qLqKs/JwaLZPENoCXSX1EjalzZyvme3r U6xnV6MFnixPKDwpZ9VGHp21iPd9DQCXH8KMctv63+KTNA7uqJdzNfQDvI9aIiuUozhb cj6f/kDl1o49ZYwrLXzi2BnLZP+fsIw3oQgeoShZxB3mMQvKFDvfn7HXRMi2yWp4fIx4 Znww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pesu-pes-edu.20150623.gappssmtp.com header.s=20150623 header.b=odhsBOK7; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pes.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si11862825edx.189.2020.07.14.09.14.22; Tue, 14 Jul 2020 09:14:44 -0700 (PDT) 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; dkim=pass header.i=@pesu-pes-edu.20150623.gappssmtp.com header.s=20150623 header.b=odhsBOK7; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pes.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbgGNQMD (ORCPT + 99 others); Tue, 14 Jul 2020 12:12:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgGNQMC (ORCPT ); Tue, 14 Jul 2020 12:12:02 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 476D5C061755 for ; Tue, 14 Jul 2020 09:12:02 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id cm21so1823940pjb.3 for ; Tue, 14 Jul 2020 09:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pesu-pes-edu.20150623.gappssmtp.com; s=20150623; h=from:date:to:subject:message-id:mime-version:content-disposition :user-agent; bh=0pMER59zTEFCPAzYOXTvQjgFvMsQNU2wxnyfGlWXCK8=; b=odhsBOK7Dgsk9AwMGr6lT8saTB5fWsOT0qaMckMoW6gEv0VosvdF/0M53UbuqlY+13 b6u0P/6n1Iv6RfwD8Bc/WTYPsTkvhKzvh879nKylvzD21IiRuMbX0M7P/Qq5a9Ou86t3 tHv3vxSVAgNd+xlKnUkQxu5hfscMjOUmFELAVErVsfbbBFnKvLq1E3NhNuQu176rE9wx lU9ykeW3g9HV1r+lPXz0LELG7I04T3yKx4C9b2OmAy8ljGsh1g6XHppS7V5uM9cFGFdL ixop94+RbLFBWtg5g+zoZYZelkVIg97i3btZZpY4tkKnODWFMYm2JbHbww+x6fZdXJJR 4+uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-disposition:user-agent; bh=0pMER59zTEFCPAzYOXTvQjgFvMsQNU2wxnyfGlWXCK8=; b=c9+Lbk7Gh0rsNkr2swRuGev9dAsQ0thfJY5hAv2H9wlR7H8eGYMx5FO8u4//y4nC9f 48FlM15aK1FFWEkfCHGgShIbhcE+JDPGELl4TP5U3Xbw/K93reQo6Alq7eebbrENyHMy Ir1XJTTFI8wG2wgddE7fu+ap4H4NFbDm4LcvJ/DC7M+A1kTqDIxC7Ia70y9xnBkc/kqK ljDbdgIkeTx4IuZmB2h1o7sd2167k5+uZEU0dwPXOtPh3IP4bS/0NiRlrsCx9szuNwMW jR5tTr5aljyDAsi8L9lcPvCYxyA/8ZlQfQQeApVr8ukQhM6qMQ673znsrQdMEwIlsmAz Hqqg== X-Gm-Message-State: AOAM531QPMfVtLMsxtnG4/Lcz76SKgMwn+67T8KrGWpfZgtRNZZNQsis CGwITjyN37uMmZFpD06ZLqLaFQ== X-Received: by 2002:a17:90b:388d:: with SMTP id mu13mr5168726pjb.187.1594743121720; Tue, 14 Jul 2020 09:12:01 -0700 (PDT) Received: from localhost ([2406:7400:73:6b0b:fdf7:8080:deab:8a49]) by smtp.gmail.com with ESMTPSA id y63sm16208541pgb.49.2020.07.14.09.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 09:12:00 -0700 (PDT) From: B K Karthik X-Google-Original-From: B K Karthik Date: Tue, 14 Jul 2020 12:11:55 -0400 To: Mauro Carvalho Chehab , Sakari Ailus , Greg Kroah-Hartman , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] staging: media: atomisp: mark some csi_rx.c symbols static Message-ID: <20200714161155.bnxojp5ajyaeli5k@pesu-pes-edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mw6ahgc7ryjyq7cq" Content-Disposition: inline User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --mw6ahgc7ryjyq7cq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable changed symbols N_SHORT_PACKET_LUT_ENTRIES, N_LONG_PACKET_ENTRIES, N_CSI_RX_FE_CTRL_DLANES, N_CSI_RX_BE_SID_WIDTH to static because they were not declared earlier. Signed-off-by: B K Karthik --- .../media/atomisp/pci/css_2401_system/host/csi_rx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx.= c b/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx.c index 8e661091f7d9..4d2076db1240 100644 --- a/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx.c +++ b/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx.c @@ -15,26 +15,26 @@ =20 #include "system_global.h" =20 -const u32 N_SHORT_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] =3D { +static const u32 N_SHORT_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] =3D { 4, /* 4 entries at CSI_RX_BACKEND0_ID*/ 4, /* 4 entries at CSI_RX_BACKEND1_ID*/ 4 /* 4 entries at CSI_RX_BACKEND2_ID*/ }; =20 -const u32 N_LONG_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] =3D { +static const u32 N_LONG_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] =3D { 8, /* 8 entries at CSI_RX_BACKEND0_ID*/ 4, /* 4 entries at CSI_RX_BACKEND1_ID*/ 4 /* 4 entries at CSI_RX_BACKEND2_ID*/ }; =20 -const u32 N_CSI_RX_FE_CTRL_DLANES[N_CSI_RX_FRONTEND_ID] =3D { +static const u32 N_CSI_RX_FE_CTRL_DLANES[N_CSI_RX_FRONTEND_ID] =3D { N_CSI_RX_DLANE_ID, /* 4 dlanes for CSI_RX_FR0NTEND0_ID */ N_CSI_RX_DLANE_ID, /* 4 dlanes for CSI_RX_FR0NTEND1_ID */ N_CSI_RX_DLANE_ID /* 4 dlanes for CSI_RX_FR0NTEND2_ID */ }; =20 /* sid_width for CSI_RX_BACKEND_ID */ -const u32 N_CSI_RX_BE_SID_WIDTH[N_CSI_RX_BACKEND_ID] =3D { +static const u32 N_CSI_RX_BE_SID_WIDTH[N_CSI_RX_BACKEND_ID] =3D { 3, 2, 2 --=20 2.20.1 --mw6ahgc7ryjyq7cq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEpIrzAt4LvWLJmKjp471Q5AHeZ2oFAl8N2UoACgkQ471Q5AHe Z2o8nwv/bHYM3mkUPZQMYVj6GOap6AfTeZIjZsYk9EqSvK93TxVV/IxHnKHBvXER 6GXyP5tJfgF5SiSC9Fz5wcA6fm7jJ4O7Q4P59Joac/Jcuo04RQ/IbpnMQDVvL2mO 0AXd/ZKj5Y/FBVHTW2qVyiywLh1eurO4D+q8A85y8DX8utVDk0obA8P3V17DsmIa tllk98eCGAnpENnJTAR5JaCvCMtECWrR9qCN2KP1dcaZEJqMo9HUjmNAe/jhalLh ofzor8oiyYPMCtOr0OaucpwxHgSAYctFMr5GES3DJcsqd4f5/tVNRzowU39YSfJo aJpQGXMQKkyULjr6pSCfgOfsDs1H8+lsP/+6hndV0YMojYntnF5bweLkRdMro7Kb 6N1btTG1f1pXyDm53KuGAXNPeQrn7LO+mHc7vtOTPLzF8gfQ01TeZEGxfd3Yfblk aX/XjWnqwRFC6lN0/ZvDe96/YxJ0QmrudM23iTMG2Fugm6f9bMThtLY5X33j/4vq TL2p7CKP =4I4M -----END PGP SIGNATURE----- --mw6ahgc7ryjyq7cq--