Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1227298rwl; Thu, 10 Aug 2023 08:10:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF8toKoWCi2TYzjaYHQJpxvYZj0jNfU0PSAncdCjPjk6ZrHEtSrhHB5FP5Vadw9gHQDurOj X-Received: by 2002:a17:902:c24d:b0:1b8:2a4d:3eb9 with SMTP id 13-20020a170902c24d00b001b82a4d3eb9mr2343200plg.34.1691680248218; Thu, 10 Aug 2023 08:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691680248; cv=none; d=google.com; s=arc-20160816; b=Y3c59XSFV6ujIPoJPqD8Xd9OSlxyfCPhqzKCMAt7/gCmbHnYn5WAQYBQfAvyrBrp5K LXGlWYPgkui18hQmN19sasjxcyPUQBYuSm55zp/4myMXaKIWLJJ9GUX6+h7jQnaMfHpN 6XwRnsxp6aBQrwA8sGL7B1n3acsm4UHzd6UD68f1Rhh3qbN0cs9YAsH4Pqp+FmcAgUQ6 0mgTedH/kWMCGCekYFIY+TZB9H41UXzaGm1iRLQUVrezxa04UOAtJFm24wZbMhDxZnGw UfElUHU/uVZYAVSIQK6VnXPMpwMj97bg/ZGop4wug1dF0zt2oFynj2OapfgC0q7bFtsb HY1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Xeho+Uwz9z/kUW93H0xBTVLFvkjZxBxDpKTkQl0WNEI=; fh=xuCxCHL1RixTANc3CKFx2uCP9jrBfD/pdh9Ll1izMH0=; b=IVwtsJrGNRgtZsJ+31nxgFV4LOxci1TUO7taQfYRw+5qs550n4G1ZUR6eHo8n19018 D4lCE9kLv8YW/fQin0CSvRMoMvwLocbQidIJLCumxWSX+V4m3KpyYMmbd7ridakGZgIs bAgcinu1Ra9IH0WN3frJikwXEJ4DUK/hnRvhHFoSeQtJVQ5LIuYDqnjmei2qjXLN+2c3 fNEUnoxusR2xUXBgeNXAFqRe/Yz4ex5Kir3X3r7ETRT20DzE7k07iOQ8zvv8JXbTnjnf WuocsxIAVdgsTsB5bmNL9vsyPPkAtUl1RhSftEqoTEOPwnYdwqsLdNSq8m94uA3X0jON QtOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GNv0vjpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a170902f54d00b001bc17ab8d6esi1685763plf.530.2023.08.10.08.10.18; Thu, 10 Aug 2023 08:10:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GNv0vjpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235670AbjHJOWY (ORCPT + 99 others); Thu, 10 Aug 2023 10:22:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235682AbjHJOWR (ORCPT ); Thu, 10 Aug 2023 10:22:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 336F1270A; Thu, 10 Aug 2023 07:22:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C2F4E65DA6; Thu, 10 Aug 2023 14:22:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85856C433C7; Thu, 10 Aug 2023 14:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691677335; bh=kWqVuzsH0Q6jtQzYrNt8dLcMGh1ZeB95zyVRAeHztoo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GNv0vjpVBSzAY0o+k/QbC/U9e6pdOuyj3VtnNWS+y0pG5p9v/7OPK9ufUKCeCk1vJ 6WztDoeLGqhPGJFQnjJG8Ri0WGCguaujdnWlSNLZDqIIR7MIeT1SMdT0kGqkyK5XlW HxoPY2a0HX6A76QKL6uKiR1c3dGXx2oXjRAMRlj1D7+nCgw0tLr/dJ4LNZotk2xQ7a hNZsZd2KRVfE9n8T0Z8O1mY8epSqvi3Il85a9tC6Z7S7+Jky96VwOD4Mbb3Zc5M+xP FMl1gY9Hfz5bbzXb7E4sNXgRG4DoJAIq0wkrtIpsHcfE1XhO0kLFoRR4jQbOKsCuvI 9KFQR9JKhfBlQ== From: Arnd Bergmann To: Andrew Morton , linux-kernel@vger.kernel.org, "James E.J. Bottomley" , Helge Deller , Sudip Mukherjee Cc: Arnd Bergmann , linux-parisc@vger.kernel.org Subject: [PATCH 09/17] parport: gsc: mark init function static Date: Thu, 10 Aug 2023 16:19:27 +0200 Message-Id: <20230810141947.1236730-10-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810141947.1236730-1-arnd@kernel.org> References: <20230810141947.1236730-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann This is only used locally, so mark it static to avoid a warning: drivers/parport/parport_gsc.c:395:5: error: no previous prototype for 'parport_gsc_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- drivers/parport/parport_gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c index 5e4475254bd0a..c7e18382dc014 100644 --- a/drivers/parport/parport_gsc.c +++ b/drivers/parport/parport_gsc.c @@ -392,7 +392,7 @@ static struct parisc_driver parport_driver __refdata = { .remove = __exit_p(parport_remove_chip), }; -int parport_gsc_init(void) +static int parport_gsc_init(void) { return register_parisc_driver(&parport_driver); } -- 2.39.2