Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp858517img; Tue, 26 Feb 2019 09:45:55 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ8i6QoI6/dLY+KY1/vFv4B7/WVYCeVOeToh+AeiCU4/w2bx8Dm/MDE2VNWkSYxSCcwmUVY X-Received: by 2002:a17:902:145:: with SMTP id 63mr27160444plb.256.1551203155407; Tue, 26 Feb 2019 09:45:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551203155; cv=none; d=google.com; s=arc-20160816; b=zAaWtdzLDIsQuD3VDLPgwBZkiPnnngBPZogMg7j6sUE4q47mz7mq7fqWfHhB+LB48j a9QbVY2JTZizSbxSYntWHI6kT4UHEpVwtlOLQoeAF4oxtfO728aVduig9bpsnu7hcxMa 3TB6iUZr5zI6ulafiUdfAEtmHwgWeJa3wCbg/SWl3cC4mNn8wG9CEfDV6KRM9SWuiLMQ 6cP7/DASOOtbTHH0Izuurzzo5i1i7xDoAxyVJmX/irAG65SsT9qf3UnLX1b8Fm1RCHmb 2FgmyP7xeOxOj4CkLODgzWO2rC54OLDYUg+F7+wxC2nwQ0eOlHZDJY+BzzWm45VJVQar cYYQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=Yks8cEhIHIJm9iQ+iTeFlbmO4ZCKebgtIh3CtvXCM1s=; b=rEshNbTKCEYUbwyEcYQHcKf+wutSaVUsmTsjdKq/e3ONRO93lnvob/RaruVjDqXkys TFMuTyuoWzjsHFyt7xTnK6pvKjArubkM0L+Ua+6xC9d1Ssh0xb1VNhUWepB4m5LBim0E ZLMxyEO+5uO2y/xECAn5a91QrPKrHJM5395R4sZVL11DNVpKDzj7cLdT7zPjpBPDy0zr lVlmXjEQSzS9i0gkRhg5CBzBKNNu817Rgrq3W0GuEVmZKl+weQGvJRqzwtKt/8jCu3G4 BxAzU8nuntofYHW6tr4TJVHMiibSgESHfnbPR95pwDdEOIbVSIHOZXZLdgfbG8QKh+Pv wlPA== 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 a15si9297698pgg.560.2019.02.26.09.45.40; Tue, 26 Feb 2019 09:45:55 -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 S1728316AbfBZRoI convert rfc822-to-8bit (ORCPT + 99 others); Tue, 26 Feb 2019 12:44:08 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:35424 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727108AbfBZRoI (ORCPT ); Tue, 26 Feb 2019 12:44:08 -0500 Received: by mail-ot1-f66.google.com with SMTP id z19so11857017otm.2 for ; Tue, 26 Feb 2019 09:44:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=z1OS+Lzpj3DeHAi3lqfkSXwSW4LD8wDRWAjP9wzKHak=; b=cEV48nxU0M29TNHTex5BZlw8qGakOAbg86E4yNazOo1yYQcaCQ7/a5YFAvFCUq6Y02 x3oKESbzYfCZE6WsBXnOU8N0WrbCFguvQ1im/eCJQ+/q5K/kUlMoqtovNb8/92AqbiRJ yQsO4PG/0AX6SDJ0RMuECfCijm9sHhTISSXBtMPSGiFTdbOVcUJAKR1+b0ha3D6Oo+z5 cVuL2J/UHUOH6fP9aNZuAPknwiVykekGv7JtK/sKPoOT5bNG8R71fNgRYExg8BGQkmmd LZnyN5CgmmNlL42XaDLi30pZBYYuqHD+l3CMhae1+zO9ek1Ad+LXdAjcnzXvw2iha7MZ Xmpg== X-Gm-Message-State: AHQUAub9JLL+VwM+m9Ets5r+dDW8wKhhNAISFeX630E2xebCT137uows +w28d8EPRzVeuUJGkozASiBLIQ9K X-Received: by 2002:a9d:7dcb:: with SMTP id k11mr16497703otn.192.1551203047224; Tue, 26 Feb 2019 09:44:07 -0800 (PST) Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com. [209.85.210.50]) by smtp.gmail.com with ESMTPSA id c38sm5489776otb.3.2019.02.26.09.44.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 09:44:06 -0800 (PST) Received: by mail-ot1-f50.google.com with SMTP id m1so11839571otf.5 for ; Tue, 26 Feb 2019 09:44:06 -0800 (PST) X-Received: by 2002:a9d:4708:: with SMTP id a8mr15251874otf.51.1551203046342; Tue, 26 Feb 2019 09:44:06 -0800 (PST) MIME-Version: 1.0 References: <20190221103731.28978-1-horia.geanta@nxp.com> In-Reply-To: From: Li Yang Date: Tue, 26 Feb 2019 11:43:55 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] soc: fsl: guts: make fsl_guts_get_svr() static To: "Y.b. Lu" Cc: Horia Geanta , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 22, 2019 at 2:09 AM Y.b. Lu wrote: > > > > > -----Original Message----- > > From: Horia Geantă > > Sent: Thursday, February 21, 2019 6:38 PM > > To: Leo Li > > Cc: Y.b. 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 > > > > 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. > > > > [Y.b. Lu] Acked-by: Yangbo Lu Applied for next. Thanks. > > > 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 >