lkml.org 
[lkml]   [2013]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/4] usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA
    Date
    If NO_DMA=y:

    drivers/built-in.o: In function `dma_set_coherent_mask':
    include/linux/dma-mapping.h:93: undefined reference to `dma_supported'

    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    ---
    drivers/usb/chipidea/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig
    index d1bd8ef..dbd5232 100644
    --- a/drivers/usb/chipidea/Kconfig
    +++ b/drivers/usb/chipidea/Kconfig
    @@ -1,6 +1,6 @@
    config USB_CHIPIDEA
    tristate "ChipIdea Highspeed Dual Role Controller"
    - depends on USB || USB_GADGET
    + depends on (USB || USB_GADGET) && HAS_DMA
    help
    Say Y here if your system has a dual role high speed USB
    controller based on ChipIdea silicon IP. Currently, only the
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2013-08-18 22:41    [W:2.260 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site