Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752655AbdG1RFL (ORCPT ); Fri, 28 Jul 2017 13:05:11 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:34767 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752584AbdG1RFJ (ORCPT ); Fri, 28 Jul 2017 13:05:09 -0400 Subject: Re: [PATCH net-next 4/4] net: dsa: lan9303: MDIO access phy registers directly To: Vivien Didelot , Egil Hjelmeland , andrew@lunn.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de References: <20170728151157.28983-1-privat@egil-hjelmeland.no> <20170728151157.28983-5-privat@egil-hjelmeland.no> <87fudglget.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> <50d2d34c-c1a5-7f0a-90f1-44b1be1775b7@egil-hjelmeland.no> <87fudgqz4w.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> From: Florian Fainelli Message-ID: <1250382a-1c17-8e82-8c5c-fe14786c84db@gmail.com> Date: Fri, 28 Jul 2017 10:05:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <87fudgqz4w.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 24 On 07/28/2017 09:55 AM, Vivien Didelot wrote: > Hi Egil, > > Egil Hjelmeland writes: > >>>> +const struct lan9303_phy_ops lan9303_indirect_phy_ops = { >>>> + .phy_read = lan9303_indirect_phy_read, >>>> + .phy_write = lan9303_indirect_phy_write, >>>> +}; >>>> +EXPORT_SYMBOL(lan9303_indirect_phy_ops); >>> >>> Isn't EXPORT_SYMBOL_GPL prefered over EXPORT_SYMBOL? >> >> I have no opinion. I just used the same variant as the other EXPORTS >> in the file. > > If there is no concern from others about this, LGTM too: Since the kernel module license is GPL, EXPORT_SYMBOL_GPL() would seem to be appropriate, which can be done as a subsequent patch. Reviewed-by: Florian Fainelli -- Florian