gfx: drm: add missing header
authorImre Deak <imre.deak@intel.com>
Thu, 22 Dec 2011 20:48:26 +0000 (22:48 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:18 +0000 (12:29 +0300)
Fix struct undefined error for struct drm_mode_modeinfo when drm_mode.h
is not included explicitly. Needed by an upcoming patch.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_drm.h

index 2400858..13f20b8 100644 (file)
@@ -25,8 +25,8 @@
 #if defined(__linux__) && !defined(__KERNEL__)
 #include<stdint.h>
 #include <linux/types.h>
-#include "drm_mode.h"
 #endif
+#include "drm_mode.h"
 
 #include "psb_ttm_fence_user.h"
 #include "psb_ttm_placement_user.h"