Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3341977pxv; Sun, 4 Jul 2021 16:02:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjIYzg06WbD2nb1Onp3Sk799LuUCgRKEs3eCHK3Tu68Gt1WkgWVxGi4RRe/t1y8Ei596p9 X-Received: by 2002:a02:7f89:: with SMTP id r131mr8544913jac.68.1625439766422; Sun, 04 Jul 2021 16:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625439766; cv=none; d=google.com; s=arc-20160816; b=vmSeSby8iej4LxvGRUUPjdtlU/Szwpe4RwdDsrbbk4Ys38fHS5IC60YjzLNcaTSCl8 7llheUweotXnm7bvU31H2jhZbLpvbYreJmkvswgEsMHt8Hv+qz+37y1ELFEUiWqNh6w0 Rw3qi/X87vg+VFFuxS8emCRUlRWC6TvvSh7WMjmrGVdzE5/JK1JpCWLPFzn+UsgD3Kfg C6LriRr/rdLkNu0Qfo0daIOOQ/56zzXlga40XEFm16qv4QPss6xLnnj+Yd6xBwMsbyER w5fyPQf+TQP8rfon9ohA1uaImiB8PVxl7+tAIv7966CA2/YfAHAcUgtYaJLstqW/onE5 1TxQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=bR0QEHVYAdW3v72Aw8kC9THbMpNs2o+j6IWYhXHWArQ=; b=zG6dCF/bPBfZC8U1QC8wqQC87UlBVjy49NW4ux/rZz1y0UlgmT5YWVnqtqrSvOlfYy 3KJZI48ZVeOSMF1LbVVhTVhk4/2yC8EjIo6XsOoASVaj4gKZC4uxRMk32GOLxxO22gLF /mbsFP1xO9IEe2qMlL13z6UKSDdkmgGbUieSfBckLTrxgY6603my+gDhoxFafcFrfHpF uc5X804q+rmmW/ACkngK2N9Qh3A0ZKTB9KycpoyCl/IFCXLuGCy9ruSXX2PXxk+yvD96 CFz0JX/gMvOjBM1RXbSVoMpv01Xi96OGcxRdjcuJyyXk6JfBQjZ+YphbYtMkVxyfd0th fXTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pR2pENaQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si13802922jav.63.2021.07.04.16.02.34; Sun, 04 Jul 2021 16:02:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pR2pENaQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbhGDXER (ORCPT + 99 others); Sun, 4 Jul 2021 19:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbhGDXER (ORCPT ); Sun, 4 Jul 2021 19:04:17 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E898C061574; Sun, 4 Jul 2021 16:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=bR0QEHVYAdW3v72Aw8kC9THbMpNs2o+j6IWYhXHWArQ=; b=pR2pENaQmLKuVLljp3vAWZ0rIw D3huTZ2u+hOmQnmJh3zEPRxQRnZYHXfgx+8ZVjjGx6prK94cwlhA9ahlGCm5HaKJHZe0YovDxsHBo hvxOH+4wTugIKll+Ewho0TjDvQfSqgNwzMQm3EwQ0LZkF0nmd3zpVOTMMD1cIyZ98uWbMCLwF9qq5 24KpE992qrIZOc6Dt2w7EN14lyAYL+aPIAxtRx/E8w4l8rqp5yG8Js1WEFXTGdTwTk2CHdtcOdTte Cic4X2q5ZinDOlEJGoVrKmItPNPUb6GJdFt7PkBX72sR0Jya6BbbFQqvuN6bRMs1oSZiYYegoq+jZ eHkJi8bg==; Received: from [2601:1c0:6280:3f0:7629:afff:fe72:e49d] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1m0B7K-006sCv-2P; Sun, 04 Jul 2021 23:01:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Greg Ungerer , linux-m68k@lists.linux-m68k.org, uclinux-dev@uclinux.org, Arnd Bergmann Subject: [PATCH] m68k/coldfire: change pll var. to clk_pll Date: Sun, 4 Jul 2021 16:01:37 -0700 Message-Id: <20210704230137.28915-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DEFINE_CLK() makes the variable name be clk_xyz, so variable 'pll' should instead be 'clk_pll'. In file included from ../arch/m68k/coldfire/m525x.c:12: ../arch/m68k/coldfire/m525x.c:29:30: error: 'pll' undeclared here (not in a function) 29 | CLKDEV_INIT(NULL, "pll.0", &pll), | ^~~ ../include/linux/clkdev.h:30:10: note: in definition of macro 'CLKDEV_INIT' 30 | .clk = c, \ | ^ In file included from ../arch/m68k/coldfire/m525x.c:21: ../arch/m68k/include/asm/mcfclk.h:43:27: warning: 'clk_pll' defined but not used [-Wunused-variable] 43 | static struct clk clk_##clk_ref = { \ | ^~~~ ../arch/m68k/coldfire/m525x.c:25:1: note: in expansion of macro 'DEFINE_CLK' 25 | DEFINE_CLK(pll, "pll.0", MCF_CLK); | ^~~~~~~~~~ Fixes: 63aadb77669a ("m68k: coldfire: use clkdev_lookup on most coldfire") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Greg Ungerer Cc: linux-m68k@lists.linux-m68k.org Cc: uclinux-dev@uclinux.org Cc: Arnd Bergmann --- arch/m68k/coldfire/m525x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20210701.orig/arch/m68k/coldfire/m525x.c +++ linux-next-20210701/arch/m68k/coldfire/m525x.c @@ -26,7 +26,7 @@ DEFINE_CLK(pll, "pll.0", MCF_CLK); DEFINE_CLK(sys, "sys.0", MCF_BUSCLK); static struct clk_lookup m525x_clk_lookup[] = { - CLKDEV_INIT(NULL, "pll.0", &pll), + CLKDEV_INIT(NULL, "pll.0", &clk_pll), CLKDEV_INIT(NULL, "sys.0", &clk_sys), CLKDEV_INIT("mcftmr.0", NULL, &clk_sys), CLKDEV_INIT("mcftmr.1", NULL, &clk_sys),