[PATCH v2] usb: gadget: Fix build error due to selection of USB_FSL_MPH_DR_OF by ARCH_MXC

Felipe Balbi balbi at ti.com
Tue Jan 24 03:25:10 EST 2012


On Thu, Dec 22, 2011 at 09:33:22AM -0200, Fabio Estevam wrote:
> USB_FSL_MPH_DR_OF is a PowerPC driver and should not be selected by ARCH_MXC.
> 
> Doing a 'make mx3_defconfig' and selecting i.MX6 we get:
> 
> CC [M]  drivers/usb/host/fsl-mph-dr-of.o
> drivers/usb/host/fsl-mph-dr-of.c: In function 'fsl_usb2_device_register':
> drivers/usb/host/fsl-mph-dr-of.c:97: error: 'struct pdev_archdata' has no member named 'dma_mask'
> 
> Fix this error by not allowing USB_FSL_MPH_DR_OF to be selected by ARCH_MXC.

I would like to have these drivers compile on all archs, so I'm sorry
but this cannot be applied as is.

All of these stupid arch dependencies should vanish. Please fix this in
another way.

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120124/e48c8517/attachment.sig>


More information about the linux-arm-kernel mailing list