Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[linux-2.6-block.git] / drivers / usb / gadget / udc / Kconfig
index 674adfead987e7449a8f50d15fd1ce9d804f27ef..9a3a6b00391aa41042836d78d1b88eed27b9ee73 100644 (file)
@@ -32,6 +32,7 @@ menu "USB Peripheral Controller"
 config USB_AT91
        tristate "Atmel AT91 USB Device Port"
        depends on ARCH_AT91
+       depends on OF || COMPILE_TEST
        help
           Many Atmel AT91 processors (such as the AT91RM2000) have a
           full speed USB Device Port with support for five configurable