Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp251471rdh; Thu, 23 Nov 2023 03:07:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFBnqjtJdU9Nv7mlzgpKrQSMS+cMyMv+pRCzHNsVHtrinOMu3eW+axFKHGuZHRZgMLLxNO X-Received: by 2002:a17:902:d301:b0:1ca:200b:8dce with SMTP id b1-20020a170902d30100b001ca200b8dcemr4818544plc.41.1700737627622; Thu, 23 Nov 2023 03:07:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700737627; cv=none; d=google.com; s=arc-20160816; b=hwQmz/C/l9uhx9qFpLivnm8uA5+0YtDThGHH0gwhhFduwGLjxSJ6VqkewPBZlp+cET ffx//1Q0M2cZDd2/Cm5UqWTJhsB/8jdKyZ+DwGG0FfVZMic6v4z3aIff/0jOn7o1ErIk LTa3y8SqYKTALl5PLvAhzyZZInCRvOn+UJCLUYVr/gZqN3+qOk94xhWh9bl7nPRCIhPH ytuj31XK+mDcl9n5InVRBqXtXDa5D35qAFUPFePYHEHNKHY9MR8vKUW6kOOanYlxL/ub gBPk/VkxJHGdEWM2kdB5XEafrolBCRrIBlcYpzKtbQ88kGEDGp7bnTr2DSH9wbc+s5PT WCOg== 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=apSqcHSMWsqS5ci7fO979gYJ3aoxPVAVvR7fhT/ahmo=; fh=TVF/ZsHt3bxRzFOIn6fcgDTEV6FaGOs0DFr4KT/S8uU=; b=0soLIp7WavUmbRLsBbHcPzK7CkxITMM/T0s2Q7cQ/3/xXH1ZuW4M8fYom1jM/f7qM3 R5DhOwtK3Wk2W67QitrX9ofnDQJHZy4OQXMRR7w9G+KCBov16XD32CzlDpU75wp7Rzi6 WAKx8vw/tKUv+ijtWUB2DfXC3zsyNDBA69yZZdk6vl+OTyydCV9dE67JOrdfMER1O+DB lFsZh5+ZuSY9Bqa6TRKLp7Qch/gcxVFB5JxAaZNhN1uboGXoln8MqnwMQ6o9+qLxrKbA oMfVHFjAsRfABwBPDV88a3irEIPjpwhTWAvQ08mthJNDw0eLWpjsDW/nldK4aXcQ1bTN 12mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iXbiFiob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id m3-20020a170902bb8300b001cc4aca5f5dsi864356pls.636.2023.11.23.03.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 03:07:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iXbiFiob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 65CD08092151; Thu, 23 Nov 2023 03:06:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344971AbjKWLGA (ORCPT + 99 others); Thu, 23 Nov 2023 06:06:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235191AbjKWLFs (ORCPT ); Thu, 23 Nov 2023 06:05:48 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0A9CD54 for ; Thu, 23 Nov 2023 03:05:54 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A8CFC433C9; Thu, 23 Nov 2023 11:05:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700737554; bh=5+tWyKAC++2Xnrgn3NdMaK+q0ya4fE8D9fGwVpiP1Ao=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iXbiFiobNLe2JxXPcmWo8nLzQzuJ0EtGXlolJinYPcK8B4Od9jeB6dYYWU2PW8lSJ BTfn/20C6mIUm6KnKVQeLfRm+HqiNXQ8oCH9vNKLmuW7UOodeeKs53SgxP43UUPoSe 8Iz6MqbaJhXWowQn+jh8OjVf/qnu4NDtJWRpJlKqOzlWU4zMZ7zPLYmi1YEI0g4oEC XVRgDyaGG2thEMkLswRlGbobUzOJ3FHm0aivGz6nvO4BDbcezPzh9l/PpE9NdLMX96 ywX7Dm1pTI5o9GhFTua14j7NbMXLxSj4wAD9bpq5ApXsxQVxQDfxgKt3Zza62nnT5P sQ1jMRTTLFHGg== From: Arnd Bergmann To: Andrew Morton Cc: Arnd Bergmann , "David S. Miller" , David Woodhouse , Dinh Nguyen , Greg Kroah-Hartman , Ivan Kokshaysky , John Paul Adrian Glaubitz , Michael Ellerman , Masahiro Yamada , Matt Turner , Nathan Chancellor , Nicolas Schier , Peter Zijlstra , Rich Felker , Richard Henderson , Richard Weinberger , Stephen Rothwell , Thomas Bogendoerfer , Tudor Ambarus , Yoshinori Sato , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org, linux-usb@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org Subject: [PATCH v3 5/6] usb: fsl-mph-dr-of: mark fsl_usb2_mpc5121_init() static Date: Thu, 23 Nov 2023 12:05:05 +0100 Message-Id: <20231123110506.707903-6-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231123110506.707903-1-arnd@kernel.org> References: <20231123110506.707903-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 03:06:22 -0800 (PST) From: Arnd Bergmann This function is only called locally and should always have been static: drivers/usb/host/fsl-mph-dr-of.c:291:5: error: no previous prototype for 'fsl_usb2_mpc5121_init' [-Werror=missing-prototypes] Fixes: 230f7ede6c2f ("USB: add USB EHCI support for MPC5121 SoC") Acked-by: Greg Kroah-Hartman Signed-off-by: Arnd Bergmann --- drivers/usb/host/fsl-mph-dr-of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index 8508d37a2aff..6cdc3d805c32 100644 --- a/drivers/usb/host/fsl-mph-dr-of.c +++ b/drivers/usb/host/fsl-mph-dr-of.c @@ -288,7 +288,7 @@ static void fsl_usb2_mph_dr_of_remove(struct platform_device *ofdev) #define PHYCTRL_LSFE (1 << 1) /* Line State Filter Enable */ #define PHYCTRL_PXE (1 << 0) /* PHY oscillator enable */ -int fsl_usb2_mpc5121_init(struct platform_device *pdev) +static int fsl_usb2_mpc5121_init(struct platform_device *pdev) { struct fsl_usb2_platform_data *pdata = dev_get_platdata(&pdev->dev); struct clk *clk; -- 2.39.2