• Daniel Mack's avatar
    usb: ohci-pxa27x: include linux/dma-mapping.h · 9876388e
    Daniel Mack authored
    Include linux/dma-mapping.h to make the new functions available that are
    used since 22d9d8e8 ("DMA-API: usb: use dma_set_coherent_mask()").
    
    drivers/usb/host/ohci-pxa27x.c: In function ‘ohci_pxa_of_init’:
    drivers/usb/host/ohci-pxa27x.c:310:2: error: implicit declaration of function ‘dma_coerce_mask_and_coherent’ [-Werror=implicit-function-declaration]
    drivers/usb/host/ohci-pxa27x.c:310:2: error: implicit declaration of function ‘DMA_BIT_MASK’ [-Werror=implicit-function-declaration]
    Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    9876388e
ohci-pxa27x.c 16.2 KB