• Maxin B. John's avatar
    ARM: 7154/1: mach-bcmring: fix build error in dma.c · 5fc86281
    Maxin B. John authored
    Fixes this build error:
    
     CC      arch/arm/mach-bcmring/dma.o
    arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
    arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
    arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier is reported only once
    arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears in.)
    arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of function 'schedule'
    arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of function 'signal_pending'
    arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel':
    arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
    arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region':
    arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to incomplete type
    arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to incomplete type
    arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to incomplete type
    make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1
    make: *** [arch/arm/mach-bcmring] Error 2
    Signed-off-by: default avatarMaxin B. John <maxin.john@gmail.com>
    Reviewed-by: default avatarJiandong Zheng <jdzheng@broadcom.com>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    5fc86281
dma.c 61.9 KB