]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: USB_NET2272_DMA should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 18 Aug 2013 20:20:43 +0000 (22:20 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Aug 2013 19:17:01 +0000 (14:17 -0500)
commitf5a1f034d615a6da00a886893548c6b1774691be
treeb5210bf9122ec420c61cc51f35859d8060a28a6d
parent628b3d443a2fcf1a67830dcd02155811d5f5c434
usb: gadget: USB_NET2272_DMA should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `net2272_done':
drivers/usb/gadget/net2272.c:386: undefined reference to `usb_gadget_unmap_request'
drivers/built-in.o: In function `net2272_queue':
drivers/usb/gadget/net2272.c:848: undefined reference to `usb_gadget_map_request'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/Kconfig