Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755942AbbEUXw2 (ORCPT ); Thu, 21 May 2015 19:52:28 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:31679 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754530AbbEUXw1 (ORCPT ); Thu, 21 May 2015 19:52:27 -0400 X-IronPort-AV: E=Sophos;i="5.13,472,1427785200"; d="scan'208";a="65518712" Message-ID: <555E6FB9.6010309@broadcom.com> Date: Thu, 21 May 2015 16:52:25 -0700 From: Ray Jui User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Paul Bolle CC: Kishon Vijay Abraham I , , "JD (Jiandong) Zheng" , Arun Parameswaran , Subject: Re: [PATCH 2/5] phy: iproc-mdio: Initial iProc MDC/MDIO support References: <1432085014-20758-1-git-send-email-rjui@broadcom.com> <1432085014-20758-3-git-send-email-rjui@broadcom.com> <1432194094.21715.113.camel@x220> In-Reply-To: <1432194094.21715.113.camel@x220> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1932 Lines: 65 On 5/21/2015 12:41 AM, Paul Bolle wrote: > On Tue, 2015-05-19 at 18:23 -0700, Ray Jui wrote: >> --- a/drivers/phy/Kconfig >> +++ b/drivers/phy/Kconfig >> >> +config PHY_IPROC_MDIO >> + bool "Broadcom iProc MDC/MDIO driver" >> + depends on ARCH_BCM_IPROC >> + default ARCH_BCM_IPROC >> + help >> + Enable this to support the iProc generic MDC/MDIO interface found >> + in various iProc based SoCs. The generic MDC/MDIO interface can be >> + used to communicate with various types of Serdes/PHYs including >> + Ethernet, PCIe, USB, and etc. >> + >> + If unsure, say N. > >> --- a/drivers/phy/Makefile >> +++ b/drivers/phy/Makefile > >> +obj-$(CONFIG_PHY_IPROC_MDIO) += phy-iproc-mdio.o > >> --- /dev/null >> +++ b/drivers/phy/phy-iproc-mdio.c > >> +#include > >> +static int __init iproc_mdio_init(void) >> +{ >> + return platform_driver_register(&iproc_mdio_driver); >> +} >> +arch_initcall_sync(iproc_mdio_init); >> + >> +MODULE_AUTHOR("Ray Jui "); >> +MODULE_DESCRIPTION("Broadcom iPROC MDC/MDIO driver"); >> +MODULE_LICENSE("GPL v2"); > > I guess phy-iproc-mdio.o is intended to be built-in only. If that's > correct the above three MODULE_ macros (and, probably, the include of > linux/module.h) can safely be dropped. > > Thanks, > > > Paul Bolle > I think we had previous discussions on this for the pinctrl patches. People including Linus and me think this is good to be there at least for information purpose. I do not want to go over the same argument again. I'll leave this to the subsystem maintainer. If the subsystem maintainer wants this out, I can take it out. Otherwise, I'll leave it as it is. Thanks, Ray -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/