]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 10 Oct 2013 22:27:58 +0000 (15:27 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 20 Oct 2013 21:46:29 +0000 (23:46 +0200)
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 <troy.kisky@boundarydevices.com>
drivers/usb/gadget/mv_udc.c

index 83bd07596a6f8959cfc8f7f5eaf5aa7a4a34cb5e..e330bbd513c4202ecfa9bf17e62e5beffb2d332e 100644 (file)
 #include <linux/types.h>
 #include <usb/mv_udc.h>
 
-#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