Re: [PATCH] phy: cpcap-usb: add MUSB dependency

From: Tony Lindgren
Date: Mon Jun 12 2017 - 04:09:24 EST


* Kishon Vijay Abraham I <kishon@xxxxxx> [170609 05:04]:
>
>
> On Friday 09 June 2017 05:17 PM, Sebastian Reichel wrote:
> > Hi,
> >
> > On Fri, Jun 09, 2017 at 12:16:40PM +0200, Arnd Bergmann wrote:
> >> When MUSB is a loadable module, we get a link error for a built-in
> >> CPCAP driver:
> >>
> >> drivers/phy/built-in.o: In function `cpcap_usb_phy_remove':
> >> phy-cpcap-usb.c:(.text+0xed9): undefined reference to `musb_mailbox'
> >>
> >> This adds a Kconfig dependency to prevent this broken configuration,
> >> enforcing that CPCAP can only be a module when MUSB is also a module.
> >>
> >> Fixes: 68a1f7c9d470 ("phy: cpcap-usb: Add CPCAP PMIC USB support")
> >> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > Reviewed-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx>
>
> merged, thanks!

Yup thanks for fixing it.

Regards,

Tony