Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2394178lqp; Sun, 24 Mar 2024 17:32:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVwmhLSRQRq1SrpfjOjpCvXS7xqmgy5NxDoFww4fI+heVuCoD21waTSDbgHASyuD7nrTLQY6nP+b21PgcW1rk22pO9Kc9gRg4XObMaIHQ== X-Google-Smtp-Source: AGHT+IEQL6HK94eD14O9fsB4B9x5SfEvP1HIO/FkX5UbCTvBe20CiXeo97weSFCM4Wr+H3WuRl5d X-Received: by 2002:a05:6808:6492:b0:3c3:5852:263a with SMTP id fh18-20020a056808649200b003c35852263amr7662758oib.42.1711326766263; Sun, 24 Mar 2024 17:32:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711326766; cv=pass; d=google.com; s=arc-20160816; b=pN68j6BSOL94sqBfj0cN9afMXTsW7lZtbL0NtdkrUQpsFwQ5M6CvA2g/PNTBzKV4pp I7xc7hcrWZ/Nq5DHqJK7gCp9e/21KsP55EpsUqIu9qkZxJi+lljwjW5HnnVU7NUJrJEl tOty28gyWPOPCxlaa3KbyMoqZKnLayAWfAUEEdIrpqI0G4Nx+z4G84tPk1v+SdzxsUiM H1MH23EGPwqq+HQPZKR0Vln1aUQfymeJwgryIgE6O97529aW5exD9B7enhjxxmUe5vaQ w+784PLsdtf/ps/lybYVVblte2GktRzNBrUYNMbvIjwGnTQbYYkqNZFTbUiNX8Qo3mEb /qGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9kSJjEKnj9dyMev/HNDHInFtXmtQ6iZ0NcSMBnhXy4E=; fh=nd0g4h7uauO0SvODh462HuIclTk/mVqICw2AWIn+FIk=; b=VtmKOLghbmZE8c5JZXBlWwTRhQLZdtJWy/UNa3Cn9tzVPgeUcY1OP220+dmGUf8ITA oMlFJ1I2k8BvpFtSSI79nZVn8erYmGaz7HOn8PKyPyg8x+IyMscEcBv7eWOpmtyWZtdW hlUAPz2RJxuWVhC52w7L87ydRifSnuWqgPRjeCyn9P532b5fXY4cj2qD1aq/3akQwpTU W8Z2j6MPR8Hrwj+wGRLh7RURS8yqHaBce9ef1/dOMHNMHFIUKl06x/4+GIaKvuypzHQl lgYb3+eaV00/N3bzyHTe+29ORMLFLgwvmn1ojNr15o6mwyRj0RIe7WFKwrusSWXLwHoO /zfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WdwNPz1P; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q15-20020a056a00084f00b006ea7b3438a5si4164700pfk.230.2024.03.24.17.32.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:32:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WdwNPz1P; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E730E287FF0 for ; Mon, 25 Mar 2024 00:32:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D8621A8A71; Sun, 24 Mar 2024 22:43:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WdwNPz1P" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39C811A8A52; Sun, 24 Mar 2024 22:43:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320224; cv=none; b=gboF1kTtzfS4TVU/VfaqLUyemKqXHxVDW6ixh5nW30v394CRhOdqYixSuADsCcH3vQU5wb1Uk+iQBisF1rCdrGY8ya7XbaJWLyYZ7+UjB+s1JpBqi3NoABcTcYcCCeIVCzXk/M3XO/0T6ELSQ+zHBg29f/OHbiIRe5ZOzNOw4iI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320224; c=relaxed/simple; bh=62r4vxA+IA//AviHhGf5YTaoys7+pFLJ6dOAi0DvKK0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BlP3UOeLLFsaH3ANvQ2o8He9jzObXUwuZ2LFQ6J96GsBFw/Nd8r6uN2G8gAQzgreiOBdKRPLGU7ss5UvpHsLCm5/SDHA/W/s0PfW+uY1VXZyvPt+zrrSmv/G/LZfMtFIE4Vk0wwscM/r1WaZPziajGMNgUH0EmB9YjEgCaGenN8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WdwNPz1P; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AE0FC433C7; Sun, 24 Mar 2024 22:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320224; bh=62r4vxA+IA//AviHhGf5YTaoys7+pFLJ6dOAi0DvKK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WdwNPz1POgYdbsNQA4SHP9r13FvDRUUvu3hW2P49RNGevyAfKteWonAto5umO++/h lMEBxiiUNjpX2I0EnvBAx4ss4ycDHlsNHTwxikklC9Ly5PQW/Xwve1z/Rnx6nFPV8I RzvO+C0sS5d56YuzNXT7SOTlXoO3bJeQnG5MYg0ptPYZ6h/MQvi0FS7S6NPMjwxCUq upPHNE4xsFJT330g2+BfZcLV6u4EMNQ3njpNoP1ML46+45LpWP8Zb+gKvgXaZeyVK4 46tAXeykd1BZqkGgOoek+b0zACDnRHTgZaH1he/j/XcoUO5MT/hwVE+pVXlFyoBAox C3Nwl/3PC/VKA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Sam Ravnborg , Randy Dunlap , Andreas Larsson , "David S. Miller" , Miquel Raynal , Sasha Levin Subject: [PATCH 6.8 531/715] mtd: maps: sun_uflash: Declare uflash_devinit static Date: Sun, 24 Mar 2024 18:31:50 -0400 Message-ID: <20240324223455.1342824-532-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Sam Ravnborg [ Upstream commit 6892982316846d4c40d12b0641d59519d868a784 ] This fixes the following warning: sun_uflash.c:50:5: error: no previous prototype for 'uflash_devinit' Signed-off-by: Sam Ravnborg Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally") Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested Cc: Andreas Larsson Cc: "David S. Miller" Reviewed-by: Andreas Larsson Acked-by: Miquel Raynal Signed-off-by: Andreas Larsson Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-3-1f186603c5c4@ravnborg.org Signed-off-by: Sasha Levin --- drivers/mtd/maps/sun_uflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index f58cfb15d6e85..b69dade3f7ad0 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c @@ -47,7 +47,7 @@ struct map_info uflash_map_templ = { .bankwidth = UFLASH_BUSWIDTH, }; -int uflash_devinit(struct platform_device *op, struct device_node *dp) +static int uflash_devinit(struct platform_device *op, struct device_node *dp) { struct uflash_dev *up; -- 2.43.0