linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91
@ 2015-03-03  7:42 Alexandre Belloni
  2015-03-03  8:26 ` Boris Brezillon
  0 siblings, 1 reply; 8+ messages in thread
From: Alexandre Belloni @ 2015-03-03  7:42 UTC (permalink / raw)
  To: linux-arm-kernel

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
dependency.

Signed-off-by: Alexandre Belloni <alexandre.belloni@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
 
 config USB_ATMEL_USBA
 	tristate "Atmel USBA"
-	depends on AVR32 || ARCH_AT91
+	depends on AVR32 || ARCH_AT91 && COMMON_CLK_AT91
 	help
 	  USBA is the integrated high-speed USB Device controller on
 	  the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel.
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-10 21:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03  7:42 [PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91 Alexandre Belloni
2015-03-03  8:26 ` Boris Brezillon
2015-03-03  9:41   ` Alexandre Belloni
2015-03-10 20:53     ` Felipe Balbi
2015-03-10 21:21       ` Alexandre Belloni
2015-03-10 21:23         ` Felipe Balbi
2015-03-10 21:41           ` Alexandre Belloni
2015-03-10 21:41             ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).