Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F16EC433FE for ; Fri, 7 Oct 2022 11:11:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5982C84E79; Fri, 7 Oct 2022 13:11:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="I5QfZIgD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5240884E63; Fri, 7 Oct 2022 12:55:53 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2050.outbound.protection.outlook.com [40.107.92.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AF76084E43 for ; Fri, 7 Oct 2022 12:55:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=venkatesh.abbarapu@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UIfVzCH1Kfvxs6qoJmK551p9vxaKeeXZAvuf2ETCvWk8OhAd31yMeGfG/7rvmeB0jrgKJAKfcxi6ZVJfhXxQEsic9uVD4fitq0INczYoe973hwsjufrfdjYLmB8FciJgifs0B5CFHzk6hr+L+yBt/eIi4YT5x7ZsgUmod9+U38eIs71sXG6ri9b65GJ+RnZVk3ouJM3iI12jZCKgd+NCFTaIFc+nfDzyr6IwUE2gqvwoxAz3LjvctSfsR/AWrSDFMQSJTJmLc7awFOFupNk9AHeQcNcJyWQUVQ1uX5Hwixek5tjWDxcZdBjA1dxF5zN+Fp0zI0Dapp3LXVId6NTigg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X+MzyDqElczynhgef/O8xKCcMZyPZU3SBaaIf7jPDcg=; b=lCkL2JNwBv4wLo7com9ughmnVO01WI59Ii1IrH8oHFtdWJIISAOxd3bCpXjAxAuln4ZlEn7piUoeanOdlFzhMPbfxU/TIZktVmckqCWbkjiHBtYSlS4BN7JxyJ3i9vJqGrlml4tk5ZwFd6bnWjL/NFVzwot4VtiUyVooJ2NIBxSwAm7pmb4cLMsWc3Z0yUA+ynGHnnR6HdUa6uDrMyNmE03dF3JtxkUIpjqJNnp6mPAE6Pv/oMwMesg8bDqsPF7iEuPPiHsvQqAdmBkVni1S+xMrlBkWcJXSDOCzwgFdISRWFvZN4pkhgNgcB+OoKLvHlpcmLVU2/c27Vxi0P7vUDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X+MzyDqElczynhgef/O8xKCcMZyPZU3SBaaIf7jPDcg=; b=I5QfZIgDExZebym8RRU+/7WeNCy5FBVVfC1Jpbp+JOXTWOdy1Cf7OgiV+l8ICyqCdw6836irIncLenz3kdOG7mlGeg0AJy64MI+R82GtQPAgpnnsp+uyYDqITRl+nBoRQMkP3wygv58CunDr2Tw3VB/NPxbg+yrpEiOs3f6uDgM= Received: from DM5PR07CA0077.namprd07.prod.outlook.com (2603:10b6:4:ad::42) by PH7PR12MB5783.namprd12.prod.outlook.com (2603:10b6:510:1d2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.28; Fri, 7 Oct 2022 10:55:45 +0000 Received: from DM6NAM11FT061.eop-nam11.prod.protection.outlook.com (2603:10b6:4:ad:cafe::30) by DM5PR07CA0077.outlook.office365.com (2603:10b6:4:ad::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25 via Frontend Transport; Fri, 7 Oct 2022 10:55:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by DM6NAM11FT061.mail.protection.outlook.com (10.13.173.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5709.10 via Frontend Transport; Fri, 7 Oct 2022 10:55:45 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 7 Oct 2022 05:55:44 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 7 Oct 2022 03:55:43 -0700 Received: from xhdvabbarap40.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Fri, 7 Oct 2022 05:55:42 -0500 From: Venkatesh Yadav Abbarapu To: CC: , , , Subject: [PATCH] clk: versal: Mark versal_clock_setup() as static Date: Fri, 7 Oct 2022 16:25:35 +0530 Message-ID: <20221007105535.31902-1-venkatesh.abbarapu@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT061:EE_|PH7PR12MB5783:EE_ X-MS-Office365-Filtering-Correlation-Id: 33a6b0bb-441e-446e-5f31-08daa8527c39 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1qFDGFLjQurZQDZA6obIwbHDgSY1mTeT40MfA4G5w9I3yBTC413vlLTKMWc+dDQfhEwC4rCPqfDJw3/BZucZXKEt2BT+mBWiZ+/dRc0RDmckYXsG5IySTyg+dAl55DtUB0qlsCz7E4ANL8aTui4tezgVRAWvNgtghS4sv4TCh+B9hD2W5CJYeOMimlls7HHV6vDa+h48pWxDP/7i9oH7LM3VvvqXjoJQ0D4VxpV9lpqJ76eBFYl8wv9ADB2fKUZAc+ilCDxB41+kOwvxF9YB3+yEkzSC9bY90cV0YSSXRQ4T/8pTGc7ca4CyQ64VhOhKTix8Tvg1vFJeXlja+yHYV3AasgtolFjrkAujVsIMyT4D3f7b8O/6O+W9luO8QPSzaywrMjTkAq/Kq7Jtm218wgQft++bTUmJ9KjJFnAoOFaIs3QO2bzWakZzwgzPxQToRxmTHmg51G68FqDaOSRZNywyvz+8hRk+vljRStnUOv41TRUJCeJAq2ACWSf7/zt0TvQHpP9n080XdRrb4LD3bokK+/3SgPqjTcltt07JsskFe5zoIcXLapfZ+8lHx5+7uwfbQvN/typOIYA3irNAVteiUtrUWD6xQ+fkI6U6kYsSkCogeva20em5Co+bnJ0P3dFi4nIvNWqNg6Iv5XDndqPWH1bEhrbCrkTjrJd2cISvl48wRmrv77/x9XaOFabTSD0Sdc5gwFf0ExkAfkT9gc628sV3SWmZivBTVKo/Wg/U44QFZX3HR8yoxR8WOPCQQrA5xRQU8pFLHK19oTZLBa8Ph2vRADnm6JT6VUBuFiQ= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(346002)(396003)(376002)(136003)(39860400002)(451199015)(36840700001)(46966006)(40470700004)(86362001)(26005)(356005)(81166007)(41300700001)(40460700003)(6916009)(8676002)(70206006)(316002)(8936002)(54906003)(40480700001)(4326008)(6666004)(107886003)(478600001)(2906002)(4744005)(5660300002)(82740400003)(47076005)(36756003)(1076003)(83380400001)(36860700001)(426003)(70586007)(82310400005)(2616005)(186003)(336012)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2022 10:55:45.0328 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 33a6b0bb-441e-446e-5f31-08daa8527c39 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT061.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5783 X-Mailman-Approved-At: Fri, 07 Oct 2022 13:11:15 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Fix the following sparse and compile time warning triggered with W=1: drivers/clk/clk_versal.c:605:5: warning: no previous prototype for 'versal_clock_setup' [-Wmissing-prototypes] 605 | int versal_clock_setup(void) Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/clk/clk_versal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk_versal.c b/drivers/clk/clk_versal.c index b2f62061ce..76fde00491 100644 --- a/drivers/clk/clk_versal.c +++ b/drivers/clk/clk_versal.c @@ -602,7 +602,7 @@ static void versal_get_clock_info(void) } } -int versal_clock_setup(void) +static int versal_clock_setup(void) { int ret; -- 2.17.1