• Arnd Bergmann's avatar
    fbdev: da8xx-fb: remove incorrect type cast · ef88ee4e
    Arnd Bergmann authored
    The probe function correct passes a dma_addr_t pointer into
    dma_alloc_coherent(), but has a cast to resource_size_t, which
    might be different from dma_addr_t:
    
    drivers/video/fbdev/da8xx-fb.c: In function 'fb_probe':
    drivers/video/fbdev/da8xx-fb.c:1431:10: error: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Werror=incompatible-pointer-types]
    
    This removes the cast, which avoids the warning.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    ef88ee4e
da8xx-fb.c 42.3 KB