diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-25 16:05:18 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-01-29 12:37:42 +0100 |
commit | ef88ee4e2c98c11dab56b2845ade9270acb8e68b (patch) | |
tree | 91322225e461a07e5ec6bb80735cd777e4478a7a /drivers/video/fbdev/Kconfig | |
parent | fbdev: s6e8ax0: avoid unused function warnings (diff) | |
download | linux-ef88ee4e2c98c11dab56b2845ade9270acb8e68b.tar.xz linux-ef88ee4e2c98c11dab56b2845ade9270acb8e68b.zip |
fbdev: da8xx-fb: remove incorrect type cast
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/Kconfig')
0 files changed, 0 insertions, 0 deletions