Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1971004pxu; Tue, 24 Nov 2020 13:29:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxA7qedeUS/5ntlvv87BA5XkAGTnafnHXQgv7coJxV0yZ3AQ4OGiNZ4rJYS3pBzX9Xb/Ho8 X-Received: by 2002:aa7:c30e:: with SMTP id l14mr467970edq.315.1606253346923; Tue, 24 Nov 2020 13:29:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606253346; cv=none; d=google.com; s=arc-20160816; b=uMb0ORfo/C7DkYLdHbbtoXFidt8UBlk37vW/tHvNzLbU5tuWArGifUQMT7Vy/aS9y4 PMboMJAPno+ysPpEdcuRP7/EIfg2CeyseJTJG7Uo+YB4/Jb+9y/z2PNQHhQUpI5Oulex 0ioJgWjDINsDYDYI7tqtBTyJ48WaCOTY4BizSHa0byoQSnc27I+pAW64/41D8soewMu7 S3ycgAiMJvL8uORjjoIrxhCkMDcPp5Qy35jBcA4xiWQRoEArRcllVhRhaiqrBmYvo/SP wzS53aIswSwp9G4GZjFXC1qKrDPeLBDendldxCXXuwTdEuS/hL8SFJLEKlgi4RuUip+u kfzA== 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=3SOIha4ER1aWdpjeE+ibcvkPQoDp8+g8gVtZEDcC2Go=; b=G9wiH15JF37BGsly43TlibSA4b9jJp1wi09C3XPh47v6/Ux3/H8/neI17uSyyWOLfz 3X0AqQQhw+1XgXooI6xRPl5LZhQ9E4YyUTawGeCAP4VJgKmaNiptEzZk8Ex//f9/swzq CAYS4XeebBtGHldUz9+3BgHelnX10ODGxN0zrpMaSyohmgo14fsXwM8lxnk1RQcu05pt BlaeCAHrajt8mQtWbMSTEXOiDYeTDtnBEbFTS+W7cSXPKbFO3A/i3om5g/GXAQQGCkr/ n+k2Cj1txQrglg+LdDPlfpdRuiBXdpMYdE+rbYK/5eyVVU/oxFyrm5qNuBfVIkzCEQb6 0Fnw== 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 g19si88602ejz.473.2020.11.24.13.28.28; Tue, 24 Nov 2020 13:29:06 -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 S1732789AbgKXL0P (ORCPT + 99 others); Tue, 24 Nov 2020 06:26:15 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:10210 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732749AbgKXL0O (ORCPT ); Tue, 24 Nov 2020 06:26:14 -0500 X-IronPort-AV: E=Sophos;i="5.78,366,1599490800"; d="scan'208";a="63502457" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 24 Nov 2020 20:26:13 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 6B37C4362272; Tue, 24 Nov 2020 20:26:11 +0900 (JST) From: Lad Prabhakar To: Sergei Shtylyov , Krzysztof Kozlowski , Philipp Zabel , Jiri Kosina , Mark Brown Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das , Prabhakar , Lad Prabhakar Subject: [PATCH 3/5] memory: renesas-rpc-if: Export symbols as GPL Date: Tue, 24 Nov 2020 11:25:50 +0000 Message-Id: <20201124112552.26377-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201124112552.26377-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20201124112552.26377-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 --- 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 c5b5691503d7..f5cbc762fda7 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.17.1