From: Troy Kisky Date: Thu, 10 Oct 2013 22:27:58 +0000 (-0700) Subject: usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT X-Git-Tag: v2014.01-rc1~207^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8287314888b15ed39ce05b06f60372768ca12d08;p=u-boot usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT i.mx6 has 1 otg controller, and 3 host ports. So, CONFIG_USB_MAX_CONTROLLER_COUNT can be greater than 1 even though only 1 device mode controller is supported. Signed-off-by: Troy Kisky --- diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 83bd07596a..e330bbd513 100644 --- a/drivers/usb/gadget/mv_udc.c +++ b/drivers/usb/gadget/mv_udc.c @@ -17,10 +17,6 @@ #include #include -#if CONFIG_USB_MAX_CONTROLLER_COUNT > 1 -#error This driver only supports one single controller. -#endif - /* * Check if the system has too long cachelines. If the cachelines are * longer then 128b, the driver will not be able flush/invalidate data