diff options
author | Sam Ravnborg <[email protected]> | 2020-08-07 20:05:47 +0200 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2020-08-07 22:52:48 +0200 |
commit | 018315d399fcc0407c4c160f24ffd60a36ee30c8 (patch) | |
tree | 7e5d27614a2d8332bc3841e44d6a693329acbbfd /drivers/gpu/drm/imx/parallel-display.c | |
parent | 9df0e0c1889677175037445d5ad1654d54176369 (diff) |
drm/mgag200: fix build on alpha arch
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 <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Fixes: e20dfd27f7aa ("drm/mgag200: Add support for G200 desktop cards")
Cc: Thomas Zimmermann <[email protected]>
Cc: Egbert Eich <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/imx/parallel-display.c')
0 files changed, 0 insertions, 0 deletions