• Marc Kleine-Budde's avatar
    mmc: at91_mci: add missing linux/highmem.h include · 23ef309a
    Marc Kleine-Budde authored
    Fix the following error:
    
    at91_mci.c: In function 'at91_mci_sg_to_dma':
    at91_mci.c:236: error: implicit declaration of function 'kmap_atomic'
    at91_mci.c:236: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function)
    at91_mci.c:236: error: (Each undeclared identifier is reported only once
    at91_mci.c:236: error: for each function it appears in.)
    at91_mci.c:236: warning: assignment makes pointer from integer without a cast
    at91_mci.c:252: error: implicit declaration of function 'kunmap_atomic'
    at91_mci.c: In function 'at91_mci_post_dma_read':
    at91_mci.c:302: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function)
    at91_mci.c:302: warning: assignment makes pointer from integer without a cast
    at91_mci.c:317: error: implicit declaration of function 'flush_kernel_dcache_page'
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
    Cc: Andrew Victor <avictor.za@gmail.com>
    Cc: Wolfgang Muees <wolfgang.mues@auerswald.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    23ef309a
at91_mci.c 30.4 KB