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

2017-06-12 Thread Tony Lindgren
* Kishon Vijay Abraham I [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/ph

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

2017-06-09 Thread Kishon Vijay Abraham I
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

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

2017-06-09 Thread Sebastian Reichel
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

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

2017-06-09 Thread Arnd Bergmann
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 CPC