Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1156352pxu; Fri, 27 Nov 2020 00:42:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQ35iolx6d/aY9QN2Z879ykx2r9ENGUZn86JBC00t6JPrvpW0sslxvZfwV3Jb+zJRpG/gp X-Received: by 2002:a17:906:2747:: with SMTP id a7mr6708667ejd.58.1606466556376; Fri, 27 Nov 2020 00:42:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606466556; cv=none; d=google.com; s=arc-20160816; b=EuN6HzG09klmb+h9Z7cVjBzRi1uZmswRAUyjtxioApa6NJnS0zsntR+tDM3lPu7LSw iOoshaQJFN4+O4vOQuLI6nEqX39Wz2WUX5TglceXpx3G2tpnBHIm4XeqYavDVywg4Opf lNVZWqRqa7ySqjbHSpp6hmNPznbFTIYXimDiP8v3OQOsOrJba9S/St6Yjn0k2pVQacyN VxvXV77sQrPz7tIDTmLKJS0+h/DmMt5GLlL2FFtoUtRH856lBf6QHSph2XEqHUdOnbxT +ykwIJJax1t/XxX+qxvd1PbLg039M3dL7xe4i5uG2tqlpLQuACnBvlB20AMrmSBNHw/r tK0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=38z9V893oZqqYiKPQxtUEYai8exjzb/I3Jc2eZaUXG0=; b=yaY2x6iPJCzIAJo9pCi2OGu17Fk83PmTJabJh0VqryipAlcrRDMWCiXPNn3Rwt5JQc xf+6QLCET2rorO2hHpWnd5qQLD7WgEowJsAp7NisMpgAxiG8Qin9DvjV4nlpV4xvu6pp nwXRd1HFXq4HIS2EvUEt81+aGINnMB9MmLC81DJUCSs7gi6MqM4COCbAzYnF1npi1GMi WG9QAw705Dcy4+B7wNtU11AKu+VjbjMLT/DGJspf9l5s7rlaZCUnMU/g/QY/DJ1ZPxvU xMUfdd1H3VSHKajROdb9n5gU7HJSLhhHkamv64/qcoUyE9ecWpYMuK5g14u4cNB1TR2n kDlg== ARC-Authentication-Results: i=1; mx.google.com; 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 k15si4586484ejk.389.2020.11.27.00.42.13; Fri, 27 Nov 2020 00:42:36 -0800 (PST) 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; 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 S2405244AbgKZTMI (ORCPT + 99 others); Thu, 26 Nov 2020 14:12:08 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:49537 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2405176AbgKZTMH (ORCPT ); Thu, 26 Nov 2020 14:12:07 -0500 X-IronPort-AV: E=Sophos;i="5.78,372,1599490800"; d="scan'208";a="64008850" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 27 Nov 2020 04:12:06 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 7B26840F8D53; Fri, 27 Nov 2020 04:12:04 +0900 (JST) From: Lad Prabhakar To: Sergei Shtylyov , Krzysztof Kozlowski , Philipp Zabel , Jiri Kosina , Mark Brown , linux-renesas-soc@vger.kernel.org, Pavel Machek , Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH v2 5/5] memory: renesas-rpc-if: Export symbols as GPL Date: Thu, 26 Nov 2020 19:11:46 +0000 Message-Id: <20201126191146.8753-6-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201126191146.8753-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20201126191146.8753-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Renesas RPC-IF driver is licensed under GPL2.0, to be in sync export the symbols as GPL. Suggested-by: Pavel Machek Signed-off-by: Lad Prabhakar Reviewed-by: Sergei Shtylyov --- drivers/memory/renesas-rpc-if.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/memory/renesas-rpc-if.c b/drivers/memory/renesas-rpc-if.c index 8d36e221def1..99633986ffda 100644 --- a/drivers/memory/renesas-rpc-if.c +++ b/drivers/memory/renesas-rpc-if.c @@ -201,7 +201,7 @@ int rpcif_sw_init(struct rpcif *rpc, struct device *dev) return PTR_ERR_OR_ZERO(rpc->rstc); } -EXPORT_SYMBOL(rpcif_sw_init); +EXPORT_SYMBOL_GPL(rpcif_sw_init); void rpcif_hw_init(struct rpcif *rpc, bool hyperflash) { @@ -249,7 +249,7 @@ void rpcif_hw_init(struct rpcif *rpc, bool hyperflash) rpc->bus_size = hyperflash ? 2 : 1; } -EXPORT_SYMBOL(rpcif_hw_init); +EXPORT_SYMBOL_GPL(rpcif_hw_init); static int wait_msg_xfer_end(struct rpcif *rpc) { @@ -358,7 +358,7 @@ void rpcif_prepare(struct rpcif *rpc, const struct rpcif_op *op, u64 *offs, RPCIF_SMENR_SPIDB(rpcif_bit_size(op->data.buswidth)); } } -EXPORT_SYMBOL(rpcif_prepare); +EXPORT_SYMBOL_GPL(rpcif_prepare); int rpcif_manual_xfer(struct rpcif *rpc) { @@ -500,7 +500,7 @@ int rpcif_manual_xfer(struct rpcif *rpc) rpcif_hw_init(rpc, rpc->bus_size == 2); goto exit; } -EXPORT_SYMBOL(rpcif_manual_xfer); +EXPORT_SYMBOL_GPL(rpcif_manual_xfer); ssize_t rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf) { @@ -529,7 +529,7 @@ ssize_t rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf) return len; } -EXPORT_SYMBOL(rpcif_dirmap_read); +EXPORT_SYMBOL_GPL(rpcif_dirmap_read); static int rpcif_probe(struct platform_device *pdev) { -- 2.25.1