From 6116837ec5bae76d25af662e57a5aaced0d7de25 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Thu, 22 Dec 2011 22:48:26 +0200 Subject: [PATCH] gfx: drm: add missing header 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 Signed-off-by: Pauli Nieminen Signed-off-by: Kirill A. Shutemov --- drivers/staging/mrst/drv/psb_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mrst/drv/psb_drm.h b/drivers/staging/mrst/drv/psb_drm.h index 2400858..13f20b8 100644 --- a/drivers/staging/mrst/drv/psb_drm.h +++ b/drivers/staging/mrst/drv/psb_drm.h @@ -25,8 +25,8 @@ #if defined(__linux__) && !defined(__KERNEL__) #include #include -#include "drm_mode.h" #endif +#include "drm_mode.h" #include "psb_ttm_fence_user.h" #include "psb_ttm_placement_user.h" -- 2.7.4