OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a759b
)
drm/mediatek: include dma-mapping header
author
Dave Airlie
<airlied@redhat.com>
Sat, 24 Aug 2019 05:07:07 +0000
(15:07 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 24 Aug 2019 05:09:20 +0000
(15:09 +1000)
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 <airlied@redhat.com>
drivers/gpu/drm/mediatek/mtk_drm_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index
7f5408c
..
945bc20
100644
(file)
--- a/
drivers/gpu/drm/mediatek/mtk_drm_drv.c
+++ b/
drivers/gpu/drm/mediatek/mtk_drm_drv.c
@@
-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"