Re: linux-next: Tree for Oct 31 (ehci, dbgp)

Alan Stern
2012-11-01T15:28:41Z

On Wed, 31 Oct 2012, Randy Dunlap wrote:

> On 10/30/2012 11:26 PM, Stephen Rothwell wrote:
>
> > Hi all,
> >
> > Changes since 20121030:
> >
>
>
> on x86_64:
>
> drivers/built-in.o: In function `ehci_reset':
> host.c:(.text+0x542a7e): undefined reference to `dbgp_reset_prep'
> host.c:(.text+0x542b75): undefined reference to `dbgp_external_startup'
> drivers/built-in.o: In function `ehci_bus_resume':
> host.c:(.text+0x544705): undefined reference to `dbgp_reset_prep'
> host.c:(.text+0x544731): undefined reference to `dbgp_external_startup'

Jan:

We all forgot about the chipidea driver. It includes code from
ehci-hcd in a rather unorthodox manner (see
drivers/usb/chipidea/host.c).

Evidently we need to change your new test in
drivers/usb/early/ehci-dbgp.c to:

#if IS_ENABLED(CONFIG_USB_HCD_EHCI) || defined(CONFIG_USB_CHIPIDEA_HOST)

Upcoming changes to ehci-hcd will make this unnecessary in 3.8, but for
now we need it.

Alan Stern