![]() When building imgag200 for the alpha architecture it fails like this:
mgag200_drv.c:233:9: error: implicit declaration of function ‘vmalloc’
233 | bios = vmalloc(size);
| ^~~~~~~
| kmalloc
When building for other architectures vmalloc.h is pulled in via some
other header file - for example asm-generic/io.h.
Use an explicit include of vmalloc.h to fix the build.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mgag200_drv.c | ||
mgag200_drv.h | ||
mgag200_i2c.c | ||
mgag200_mm.c | ||
mgag200_mode.c | ||
mgag200_reg.h |