[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120511.180328.1412689186292656882.davem@davemloft.net>
Date: Fri, 11 May 2012 18:03:28 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ddaney.cavm@...il.com
Cc: bjorn@...k.no, paul.gortmaker@...driver.com, rdunlap@...otime.net,
sfr@...b.auug.org.au, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] net: of/phy: fix build error when phylib is built as a
module
From: David Daney <ddaney.cavm@...il.com>
Date: Fri, 11 May 2012 10:58:06 -0700
> On 05/11/2012 08:47 AM, Bjørn Mork wrote:
>> CONFIG_OF_MDIO is tristate and will be m if PHYLIB is m. Use
>> IS_ENABLED macro to prevent build error:
>>
>> ERROR: "of_mdio_find_bus" [drivers/net/phy/mdio-mux.ko] undefined!
>>
>> Reported-by: Randy Dunlap<rdunlap@...otime.net>
>> Cc: David Daney<david.daney@...ium.com>
>> Signed-off-by: Bjørn Mork<bjorn@...k.no>
>
> I was able to reproduce the failure, and this patch both fixes it and
> seems correct, so...
>
> Acked-by: David Daney<david.daney@...ium.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists