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

Fabio Estevam festevam at gmail.com
Thu Dec 29 18:26:24 EST 2011


Hi Felipe,

On Thu, Dec 22, 2011 at 9:33 AM, Fabio Estevam
<fabio.estevam at freescale.com> 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.
>
> Cc: stable at kernel.org
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

Does this patch look good?

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list