Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp724072lqo; Thu, 16 May 2024 22:22:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4kZmyOxlGvw5sJur9gzQpxbF9G/W2+9wdnldFk1JQhNEqLv7IVnwB5q4QeiEar6istwsxBiaUKFIel1jSa+aqM0v3Qxwkewji+wX8xA== X-Google-Smtp-Source: AGHT+IEYvp4XJLLLq6V0FP/OmvJBJyyb57qA1RFgYUvCaTw9+K9bfqekcgj6k/gQmpKEmD/YctId X-Received: by 2002:a17:90b:196:b0:2b1:d11c:ca21 with SMTP id 98e67ed59e1d1-2b6ccd8fc5emr21116454a91.40.1715923350467; Thu, 16 May 2024 22:22:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715923350; cv=pass; d=google.com; s=arc-20160816; b=JYFH9YdWgpt4rEvt2dqUbRpzacOSLgFuh2VogggQTqjBvk/1EMGLAp6AG/Zr/KMOlT jA5ZLETCd0KJ2i20M0sNjaZST+IiC/Up8juWSDhWxUquru5+qLZ6vtUnb45kQjL3umnT ST/7fE35nKBUK2/Q5pR3663ZJYjtBxxFomEKQN0hNToxK+1DNDjZP9Y542gFFRY/8HOb UpjqZvsfkkdZW8cURj6yCCP2sadkmSioKHhHHS3fBdPqaSJP26pQKqv+86eLuhKU+4iE cPC+ZEtRFqAU72r17FbK5nd6sBFxJZMa+SHcWnp37Fm/oGaPOx5y2heQRMXUi8Nx4qnE lYRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature; bh=TZR1WPYEWv/hg5TiJhxmylUxi5H9TisyK2fdxucluY4=; fh=D904lxTg5/+Mx245hjsHQ+OxxUabd58RhQACBog4r2w=; b=GHfMGL4B79H+K1O+6BlsTYKd9A2nqKNglglYTQg0n57/7+UPZ6IRQb9nJc+b4O+Zet lVbKTSqf4GYgHeP618F5a7P8AYtJLxhS+N9dv2HAG76SUYM50Xor7OckWWpRoUODtCwC kkNGpXKnGIUsDF7W+JUGuTqWk7uIKp9MEVCvC3DogQ1zjwtv8J0+Ve53wwhun0d6Zerp wRphkSMR4YyXCltx6DEEZ5fxit0QEGgo/F+QT0eH8za6WewPsXCFilR410GNi+yAmQfL Z3qayQUwBHhWJ3vWwwbKLtcCNat2eH4BU/9WVru0HSPHqeW5sDU8Ohzn4ivpJGhvkM4m D/qA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ltts.com header.s=i3fe3efcd4pbz7ipgssfqjhzqx347xbc header.b=oXrcqdOW; dkim=pass header.i=@amazonses.com header.s=zpkik46mrueu52d3326ufxxchortqmoc header.b=CNm0dYFs; arc=pass (i=1 spf=pass spfdomain=ap-south-1.amazonses.com dkim=pass dkdomain=ltts.com dkim=pass dkdomain=amazonses.com dmarc=pass fromdomain=ltts.com); spf=pass (google.com: domain of linux-kernel+bounces-181746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181746-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ltts.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b670f56d97si17260895a91.58.2024.05.16.22.22.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 22:22:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ltts.com header.s=i3fe3efcd4pbz7ipgssfqjhzqx347xbc header.b=oXrcqdOW; dkim=pass header.i=@amazonses.com header.s=zpkik46mrueu52d3326ufxxchortqmoc header.b=CNm0dYFs; arc=pass (i=1 spf=pass spfdomain=ap-south-1.amazonses.com dkim=pass dkdomain=ltts.com dkim=pass dkdomain=amazonses.com dmarc=pass fromdomain=ltts.com); spf=pass (google.com: domain of linux-kernel+bounces-181746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181746-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ltts.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 27D81B21A0B for ; Fri, 17 May 2024 05:22:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9776F10A25; Fri, 17 May 2024 05:22:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ltts.com header.i=@ltts.com header.b="oXrcqdOW"; dkim=pass (1024-bit key) header.d=amazonses.com header.i=@amazonses.com header.b="CNm0dYFs" Received: from c180-40.smtp-out.ap-south-1.amazonses.com (c180-40.smtp-out.ap-south-1.amazonses.com [76.223.180.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58E4B1095A; Fri, 17 May 2024 05:22:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=76.223.180.40 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715923336; cv=none; b=nhOOE218us0jQz1GVtbR0TdxyUfz59+od6CIUVibISQWk7g8ECM0eok+CC1wxA8uGPuzYJug0by4gecwwdUn+YdCbhA6nrrHGXW/GoJ1m//MBuQYXFEaS390YHpbJNweEJLNSF7TIq9M59WVMwwPOZPTMZrh8ZpWAJvNvt75DzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715923336; c=relaxed/simple; bh=lclVx6WfAVXVWLfHGAr9HA/dSg48QUSA0LJIVcukNkQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G82628hgS5jDhQYDG41R56NNF29Vt9QopiiSDBSJje20j13q7r2KzcIWy9hUIv450II3VIy9CGysOrCYY0dEArshcNKpItwCwG+MumsTHdOesodFvodIxfK0AY8WmJalmOt2Om/McXiZ8sjN67jP7K3ABv4LZoGGXByEbRzy3YI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ltts.com; spf=pass smtp.mailfrom=ap-south-1.amazonses.com; dkim=pass (2048-bit key) header.d=ltts.com header.i=@ltts.com header.b=oXrcqdOW; dkim=pass (1024-bit key) header.d=amazonses.com header.i=@amazonses.com header.b=CNm0dYFs; arc=none smtp.client-ip=76.223.180.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ltts.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ap-south-1.amazonses.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=i3fe3efcd4pbz7ipgssfqjhzqx347xbc; d=ltts.com; t=1715923331; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding; bh=lclVx6WfAVXVWLfHGAr9HA/dSg48QUSA0LJIVcukNkQ=; b=oXrcqdOWaeFdXfu2V5tSR1qlEI76HUzIVIhLCHlXxG2umyKEzFlN+YhZQUwso6FR 8zPQiSl6LA36nHghcP9+nk0001XxRnLssqHdB9vO3Z0EPQRTaGa2iIinkyWRbPDCs7M tgTy0m2kHt1EeUH1eRkOl6sQta8p+zjlSopRj03TByZ+KdubiyGyr6W6aHiHqzOOqwN OoESsM7DEotMpZk2QqOI6I6Gl2u3y+3xoSRFu+vJdVqbce4RjUWurO4jRqfHq3RSt80 5YnJFwZBA0jcswdiaPlQS/56X8bzyh1VabEg8o2jtcLl+COXLBucSQ6mUWtSP9OPLu7 azX8Dj0oqw== DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zpkik46mrueu52d3326ufxxchortqmoc; d=amazonses.com; t=1715923331; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding:Feedback-ID; bh=lclVx6WfAVXVWLfHGAr9HA/dSg48QUSA0LJIVcukNkQ=; b=CNm0dYFs1Kld/3jueJlAGfNWihlsSxRPMWFBLZ2ufQH+DELMnzk7ZxbOaPordhFr bNFzyTKoG/aH8eCXajwTwVgvQq6PMwFaSHTIamnhCpjjz+DzsIWb4v1qDb4a27jW/S5 kqFh7GkfM58bn9fNaxww7wT9Lb6ulV7dwyFncfw4= From: Nirmala devi Mal Nadar To: linux-kernel@vger.kernel.org Cc: linux-gpio@vger.kernel.org, linus.walleij@linaro.org, lee@kernel.org, Nirmala Devi Mal Nadar , kernel test robot Subject: [PATCH] pinctrl: pinctrl-tps6594: make tps65224_muxval_remap and tps6594_muxval_remap as static to fix sparse warning Date: Fri, 17 May 2024 05:22:11 +0000 Message-ID: <0109018f85002ae1-6fb831b2-74c2-4559-98f1-a3ef25e72558-000000@ap-south-1.amazonses.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Feedback-ID: ::1.ap-south-1./RC/PI2M8xOxQmTMPi0M1Q8h2FX69egpT62QKSaMPIA=:AmazonSES X-SES-Outgoing: 2024.05.17-76.223.180.40 From: Nirmala Devi Mal Nadar pinctrl: tps6594: Fix sparse warning. warning: symbol 'tps65224_muxval_remap' was not declared. Should it be static? warning: symbol 'tps6594_muxval_remap' was not declared. Should it be static? Signed-off-by: Nirmala Devi Mal Nadar Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202405111523.9yt759uX-lkp@intel.com/ --- drivers/pinctrl/pinctrl-tps6594.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-tps6594.c b/drivers/pinctrl/pinctrl-tps6594.c index 085047320..95ec21d0f 100644 --- a/drivers/pinctrl/pinctrl-tps6594.c +++ b/drivers/pinctrl/pinctrl-tps6594.c @@ -237,13 +237,13 @@ struct muxval_remap { u8 remap; }; -struct muxval_remap tps65224_muxval_remap[] = { +static struct muxval_remap tps65224_muxval_remap[] = { {5, TPS6594_PINCTRL_DISABLE_WDOG_FUNCTION, TPS65224_PINCTRL_WKUP_FUNCTION_GPIO5}, {5, TPS65224_PINCTRL_SYNCCLKIN_FUNCTION, TPS65224_PINCTRL_SYNCCLKIN_FUNCTION_GPIO5}, {5, TPS65224_PINCTRL_NSLEEP2_FUNCTION, TPS65224_PINCTRL_NSLEEP2_FUNCTION_GPIO5}, }; -struct muxval_remap tps6594_muxval_remap[] = { +static struct muxval_remap tps6594_muxval_remap[] = { {8, TPS6594_PINCTRL_DISABLE_WDOG_FUNCTION, TPS6594_PINCTRL_DISABLE_WDOG_FUNCTION_GPIO8}, {8, TPS6594_PINCTRL_SYNCCLKOUT_FUNCTION, TPS6594_PINCTRL_SYNCCLKOUT_FUNCTION_GPIO8}, {9, TPS6594_PINCTRL_CLK32KOUT_FUNCTION, TPS6594_PINCTRL_CLK32KOUT_FUNCTION_GPIO9}, base-commit: 1482489b5196f4203576ae1dc2ba4ce3ada381c7 -- 2.34.1