[PATCH] drm/armada: Fix compile fail

Daniel Vetter daniel.vetter at ffwll.ch
Fri Dec 30 16:38:52 UTC 2016

I reported the include issue for tracepoints a while ago, but nothing
seems to have happened. Now it bit us, since the drm_mm_print
conversion was broken for armada. Fix it, so I can re-enable armada
in the drm-misc build configs.

v2: Rebase on top of Chris' build fix.

Reported-by: kbuild test robot <fengguang.wu at intel.com>
Fixes: b5c3714fe878 ("drm/mm: Convert to drm_printer")
Cc: Russell King <rmk+kernel at armlinux.org.uk>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
 drivers/gpu/drm/armada/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/armada/Makefile b/drivers/gpu/drm/armada/Makefile
index a18f156c8b66..64c0b4546fb2 100644
--- a/drivers/gpu/drm/armada/Makefile
+++ b/drivers/gpu/drm/armada/Makefile
@@ -4,3 +4,5 @@ armada-y	+= armada_510.o
 armada-$(CONFIG_DEBUG_FS) += armada_debugfs.o
 obj-$(CONFIG_DRM_ARMADA) := armada.o
+CFLAGS_armada_trace.o := -I$(src)

More information about the dri-devel mailing list