Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp345334imp; Thu, 21 Feb 2019 02:38:27 -0800 (PST) X-Google-Smtp-Source: AHgI3IaEeJRxLmfOl48dggkOKtA8xtt3TKC9k4juQB3nVrkiTprPrTY82rHuxPMpifLvtgkqmpBF X-Received: by 2002:a63:5359:: with SMTP id t25mr34868448pgl.99.1550745507663; Thu, 21 Feb 2019 02:38:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550745507; cv=none; d=google.com; s=arc-20160816; b=ElGeM3oJqKndAnsYcRT13YtY+z3Jx46wsr15UlE4rcPTuUmCShLoJYRKK7SUwy+jar hkbwf6JCtfpI6OtvNky0XTRkmh6+X167ANJiXAk84ocTp/tREgZJpUNBaeYcKF4xRWKn bVLdW7auXqr9NwhRR8wAXIaZUmzCqxFTyUfzBy/6mLx+fhECF9hpMTa1rzlnRM/Xviy1 GF+Kr/HpHhPbRedELOB8xMA94t1rLkFJWSg0WzP64cYJZozLK1gjtLwmiSoMZzLVKITY 15nBZa04Ecvn02vtQf9KeswUn8AaI3hznjJPts1LsjfgzsTW8MfAMsKbh7O2ByenLdIF 9hjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=oDaUB45zBi79A4xTzhGA732NnL1ONQDrNCIhAF0TYW0=; b=XTl+AbmLKqP+QBRUjMfKq3kS5AX4p3oLl3CijRJIpbOiklhT3WlBMDVtFg6iF2VQIZ 0V05dkwnPOsYxaQ9DGL9DP81PMu8BduLYiP71sfSkObOZqbP0ItkUH3GtZlSsAv3OKGr pu/KVSP/OJ12dPLAPWyEzP4xnZ/S+9ZOeQL4TH8bGwLvH5FkrOrIFuX4Gby+bSnzyxmb ZYXqOgHNxulJLK7M7jgEin9lFkj1kdiHzNp0Tr7rTZc6QhDhDfQeVTLnmiSwazSFRE7S hODS11CZ4YK0uUSq5UsLyNdWGXooDh5QlOeUGBqhmH1LW9kudAT49LhEFoE7PfrWo5aE 9NKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7si10026573plr.276.2019.02.21.02.38.12; Thu, 21 Feb 2019 02:38:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726151AbfBUKhp (ORCPT + 99 others); Thu, 21 Feb 2019 05:37:45 -0500 Received: from inva020.nxp.com ([92.121.34.13]:59548 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725814AbfBUKho (ORCPT ); Thu, 21 Feb 2019 05:37:44 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B426C1A01C6; Thu, 21 Feb 2019 11:37:42 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A7EAA1A015E; Thu, 21 Feb 2019 11:37:42 +0100 (CET) Received: from enigma.ea.freescale.net (enigma.ea.freescale.net [10.171.81.110]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 58621205C6; Thu, 21 Feb 2019 11:37:42 +0100 (CET) From: =?UTF-8?q?Horia=20Geant=C4=83?= To: Li Yang Cc: Yangbo Lu , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: fsl: guts: make fsl_guts_get_svr() static Date: Thu, 21 Feb 2019 12:37:31 +0200 Message-Id: <20190221103731.28978-1-horia.geanta@nxp.com> X-Mailer: git-send-email 2.16.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The export of fsl_guts_get_svr() is a left-over, it's currently used only internally and users needing SoC information should use the generic soc_device infrastructure. Signed-off-by: Horia Geantă --- drivers/soc/fsl/guts.c | 3 +-- include/linux/fsl/guts.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c index 4f9655087bd7..63f6df86f9e5 100644 --- a/drivers/soc/fsl/guts.c +++ b/drivers/soc/fsl/guts.c @@ -115,7 +115,7 @@ static const struct fsl_soc_die_attr *fsl_soc_die_match( return NULL; } -u32 fsl_guts_get_svr(void) +static u32 fsl_guts_get_svr(void) { u32 svr = 0; @@ -129,7 +129,6 @@ u32 fsl_guts_get_svr(void) return svr; } -EXPORT_SYMBOL(fsl_guts_get_svr); static int fsl_guts_probe(struct platform_device *pdev) { diff --git a/include/linux/fsl/guts.h b/include/linux/fsl/guts.h index 941b11811f85..1fc0edd71c52 100644 --- a/include/linux/fsl/guts.h +++ b/include/linux/fsl/guts.h @@ -135,8 +135,6 @@ struct ccsr_guts { u32 srds2cr1; /* 0x.0f44 - SerDes2 Control Register 0 */ } __attribute__ ((packed)); -u32 fsl_guts_get_svr(void); - /* Alternate function signal multiplex control */ #define MPC85xx_PMUXCR_QE(x) (0x8000 >> (x)) -- 2.16.2