Message ID | 20200123132153.6252-1-jardim.c.pedro@gmail.com |
---|---|
State | Accepted |
Commit | 2f39ab1649caddf748ef1eff60c40fede5995ced |
Delegated to: | Lukasz Majewski |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=XTyBgYEP; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 483NG638T5z9sSN for <incoming@patchwork.ozlabs.org>; Fri, 24 Jan 2020 00:21:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6A3F5816D8; Thu, 23 Jan 2020 14:21:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XTyBgYEP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0AF69816EB; Thu, 23 Jan 2020 14:21:30 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8CA74816A4 for <u-boot@lists.denx.de>; Thu, 23 Jan 2020 14:21:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jardim.c.pedro@gmail.com Received: by mail-qk1-x743.google.com with SMTP id g195so1930323qke.13 for <u-boot@lists.denx.de>; Thu, 23 Jan 2020 05:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=979OOWlv48JObb96If4EF94vEe9ZeAIL/4rISe+B2Ks=; b=XTyBgYEP16rSawXETZyLX6LRMGzymdWuapjSgACMCSFe/6tdT/LFoeQGmlhGRjnQe7 XFUEQjzRL8obhvxgh7paNviij7eG8O6T8GDzXV1DeH214LjwylimmU4QqM+tKP0DGwkZ Z4gJBSC0VWsAK6brUaMrd7+0G1O2x2N3OXgBoCdyMNJAakxrbxoLkjXj/vEiDTqvR2eB oAPYPxdS8umyaBA4P+UT1dg5pXSxQyuGP2atEFJW6d8vi7sczz3xXu78ORS+31q0vVcb +RMYaHHTv3fvm/0TrMOrVgHwSTCr4D86Rngysoa2Zr486gjsraISW9dn+hJ5ANikh5hx +mhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=979OOWlv48JObb96If4EF94vEe9ZeAIL/4rISe+B2Ks=; b=cFA14KZ2QmS2tG4g2rNzd/Zwkj6whWS5SbyU3JpOMFi0Z7HJVdd4Lk7GhtQCWPpQWd +MZfufDOgkAR5XViTquB9GlG2eNWDVqZ/cR7/+/Hth57oDiaKmSxANMbnrEXMQduBHYo MxzYNgsGzwSqflxH/axQvbhmXHodoFmcC15CGrbS59mHKHVbDP6Jk2Ew4Tme6BeXoTzJ 52Dvj++E4GnBiFCA7rxJgTjX3uXgj+CkqGA6hEwgnmdanj3l286j0vgn8skCKijeWnWV +h7v5TV+x3Ydl8e0uIOFe7DRv0ZINAoCi2ZwmJyPCJ0xgchIG7nz11pIyvpPxHU//hxV d7Qw== X-Gm-Message-State: APjAAAWU6d9ln/qck27baqJjFKs3q6Un3ctoJzgeVueDnh55EZRb61uT L7VrHiheGcMtIe5RmPFwcmY= X-Google-Smtp-Source: APXvYqw/C8Qrw2z6fMUWGvA3ujM/gpLrpZRlZp46cGjxhQpA2VSv7cL0ZXUb5nZpZCqY3t70SQ7C4Q== X-Received: by 2002:ae9:e704:: with SMTP id m4mr15184947qka.153.1579785686425; Thu, 23 Jan 2020 05:21:26 -0800 (PST) Received: from e5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id 199sm856153qkj.47.2020.01.23.05.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 05:21:26 -0800 (PST) From: Pedro Jardim <jardim.c.pedro@gmail.com> To: sbabic@denx.de Subject: [PATCH v2 4/4] clock_imx8mq: Make frac_pll_init() static Date: Thu, 23 Jan 2020 10:21:53 -0300 Message-Id: <20200123132153.6252-1-jardim.c.pedro@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Received: from e5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id k88sm7790739qte.32.2020.01.14.09.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 09:11:25 -0800 (PST) Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Pedro Jardim <jardim.c.pedro@gmail.com> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
[v2,1/4] clock_imx8mq: Delete not used init_usb_clk()
|
expand
|
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c b/arch/arm/mach-imx/imx8m/clock_imx8mq.c index 72a70d8c45..aad9cf13ef 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mq.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mq.c @@ -636,7 +636,7 @@ void dram_pll_init(ulong pll_val) ; } -int frac_pll_init(u32 pll, enum frac_pll_out_val val) +static int frac_pll_init(u32 pll, enum frac_pll_out_val val) { void __iomem *pll_cfg0, __iomem *pll_cfg1; u32 val_cfg0, val_cfg1;
Since frac_pll_init() is only used in this file, change it to 'static'. This fixes the following sparse warning: arch/arm/mach-imx/imx8m/clock_imx8mq.c:662:5: warning: no previous prototype for ‘frac_pll_init’ [-Wmissing-prototypes] Signed-off-by: Pedro Jardim <jardim.c.pedro@gmail.com> --- Chages since v1: - Fixed patch corruption arch/arm/mach-imx/imx8m/clock_imx8mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)