Skip to content

Commit

Permalink
drm/mediatek: include dma-mapping header
Browse files Browse the repository at this point in the history
Although it builds fine here in my arm cross compile, it seems
either via some other patches in -next or some Kconfig combination,
this fails to build for everyone.

Include linux/dma-mapping.h should fix it.

Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
airlied committed Aug 24, 2019
1 parent a4a759b commit 7837951
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/mediatek/mtk_drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/pm_runtime.h>
#include <linux/dma-mapping.h>

#include "mtk_drm_crtc.h"
#include "mtk_drm_ddp.h"
Expand Down

0 comments on commit 7837951

Please sign in to comment.