Re: [PATCH, resend] pch_phub: re-use native MAC address parser

From: Arnd Bergmann
Date: Tue Jun 04 2013 - 11:13:05 EST


On Tuesday 04 June 2013 17:57:38 Andy Shevchenko wrote:
> On Tue, Jun 4, 2013 at 5:38 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> > On Tuesday 04 June 2013 17:21:16 Andy Shevchenko wrote:

> >> It seems proper solution is to move mac_pton() outside of CONFIG_NET,
> >> though I don't know how to do this easily.
> >
> > If we want to use it outside of CONFIG_NET, it cannot be part of net/core/*.c.
> > Maybe we can move the function to lib/mac_pton.c instead and create a
> > Kconfig symbol that gets selected by CONFIG_NET and by any driver lib
> > PCH_PHUB that needs it.
>
> Sounds like a solution. Would you like me to implement this?

Yes, that would be good.

Thanks,

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/