Purna Chandra Mandal <[email protected]> writes:
> From: Cristian Birsan <[email protected]>
>
> This driver adds support of PIC32 MUSB OTG controller as
> dual role device. It implements platform specific glue to
> reuse musb core.
>
> Signed-off-by: Cristian Birsan <[email protected]>
> Signed-off-by: Purna Chandra Mandal <[email protected]>
>
> In-reply-to: [email protected]
>
> ---
>
> Changes in v2:
>  - fix i386 build
>  - fix indentation
>
>  drivers/usb/musb/Kconfig  |   9 +-
>  drivers/usb/musb/Makefile |   1 +
>  drivers/usb/musb/pic32.c  | 608 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 617 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/usb/musb/pic32.c
>
> diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
> index 886526b..1970c1e 100644
> --- a/drivers/usb/musb/Kconfig
> +++ b/drivers/usb/musb/Kconfig
> @@ -112,6 +112,13 @@ config USB_MUSB_BLACKFIN
>       depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
>       depends on NOP_USB_XCEIV
>  
> +config USB_MUSB_PIC32
> +     tristate "Microchip PIC32 USB platforms"
> +     depends on MACH_PIC32

no, we like to build stuff on other arches, this should be:

        depends on MACH_PIC32 || COMPILE_TEST

and you should *really* fix the build error, not work around it.

-- 
balbi

Attachment: signature.asc
Description: PGP signature

Reply via email to