savage_drm.h: include <drm/drm.h>
authorMikko Rapeli <mikko.rapeli@iki.fi>
Thu, 15 Oct 2015 05:55:49 +0000 (07:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 16 Oct 2015 13:50:59 +0000 (15:50 +0200)
Fixes compiler error:

drm/savage_drm.h:50:24: error: array type has incomplete element type
  struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS +

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/uapi/drm/savage_drm.h

index 818d49be2e6e40f3a0c81ec11118563299294ff1..9dc9dc1a7753b38b3155375255a7b5f6b3e65df4 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef __SAVAGE_DRM_H__
 #define __SAVAGE_DRM_H__
 
+#include <drm/drm.h>
+
 #ifndef __SAVAGE_SAREA_DEFINES__
 #define __SAVAGE_SAREA_DEFINES__