[PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91

Alexandre Belloni alexandre.belloni at free-electrons.com
Mon Mar 2 23:42:47 PST 2015

Since the addition of the errata handling for at91sam9rl and at91sam9g45, the
atmel_usba_udc depends on the pmc driver being present. Explicitly set that

Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
 drivers/usb/gadget/udc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
index 9a3a6b00391a..b04206fdba11 100644
--- a/drivers/usb/gadget/udc/Kconfig
+++ b/drivers/usb/gadget/udc/Kconfig
@@ -55,7 +55,7 @@ config USB_LPC32XX
 	tristate "Atmel USBA"
-	depends on AVR32 || ARCH_AT91
+	depends on AVR32 || ARCH_AT91 && COMMON_CLK_AT91
 	  USBA is the integrated high-speed USB Device controller on
 	  the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel.

More information about the linux-arm-kernel mailing list