drm/vmwgfx: Fix drm.h include
authorJosh Boyer <jwboyer@fedoraproject.org>
Fri, 5 Sep 2014 17:19:59 +0000 (13:19 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 12 Sep 2014 03:57:49 +0000 (13:57 +1000)
The userspace drm.h include doesn't prefix the drm directory.  This can lead
to compile failures as /usr/include/drm/ isn't in the standard gcc include
paths.  Fix it to be <drm/drm.h>, which matches the rest of the driver drm
header files that get installed into /usr/include/drm.

Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1138759

Fixes: 1d7a5cbf8f74e
Reported-by: Jeffrey Bastian <jbastian@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/uapi/drm/vmwgfx_drm.h

index 4fc66f6b12ced39a20d5c03fd820d1b513cd507d..c472bedbe38ebab3f49e80456ec106c9d90301d0 100644 (file)
@@ -29,7 +29,7 @@
 #define __VMWGFX_DRM_H__
 
 #ifndef __KERNEL__
-#include <drm.h>
+#include <drm/drm.h>
 #endif
 
 #define DRM_VMW_MAX_SURFACE_FACES 6