]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: USB_DWC2 should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 16 Feb 2016 15:10:59 +0000 (16:10 +0100)
committerFelipe Balbi <balbi@kernel.org>
Wed, 17 Feb 2016 08:32:18 +0000 (10:32 +0200)
commit3f0865470f128ef96efd3e489da6f759b2d5daa2
tree507c44de3af35b634834f8ffdf5cfad91648efd8
parent77628d8924103709629ba2f72ebb9c19b9baa1ad
usb: dwc2: USB_DWC2 should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "usb_gadget_map_request" [drivers/usb/dwc2/dwc2.ko] undefined!
    ERROR: "usb_gadget_unmap_request" [drivers/usb/dwc2/dwc2.ko] undefined!
    ERROR: "bad_dma_ops" [drivers/usb/dwc2/dwc2.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc2/Kconfig