Re: [PATCH v2 1/3] USB: Add driver for NXP ISP1301 USB transceiver

From: Roland Stigge
Date: Mon Apr 16 2012 - 11:40:35 EST


On 04/16/2012 04:14 PM, Arnd Bergmann wrote:
>> This driver needs to be probe()d before the respective USB driver using it. For
>> modules, this is handled via the module dependency. When linking statically, it
>> is done via linking order in the Makefile (misc/ before host/ and the gadget/).
>
> You can easily avoid the link order restriction now by returning -EPROBE_DEFER
> from the probe function of the device that needs this one.

That's exactly what I was looking for! :-)

Same for the phandle idea.

Will include the resp. changes in the next update

Thanks,

Roland
--
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/