public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/vmwgfx: Fix drm.h include
@ 2014-09-05 17:19 Josh Boyer
  2014-09-08 12:01 ` Emil Velikov
  2014-09-16 13:43 ` Josh Boyer
  0 siblings, 2 replies; 9+ messages in thread
From: Josh Boyer @ 2014-09-05 17:19 UTC (permalink / raw)
  To: Thomas Hellstrom, Brian Paul, David Airlie
  Cc: dmarlin, dri-devel, linux-kernel

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>
---
 include/uapi/drm/vmwgfx_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h
index 4fc66f6b12ce..c472bedbe38e 100644
--- a/include/uapi/drm/vmwgfx_drm.h
+++ b/include/uapi/drm/vmwgfx_drm.h
@@ -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
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-22 20:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 17:19 [PATCH] drm/vmwgfx: Fix drm.h include Josh Boyer
2014-09-08 12:01 ` Emil Velikov
2014-09-08 12:14   ` Josh Boyer
2014-09-08 12:26     ` Emil Velikov
2014-09-08 12:15   ` Thomas Hellstrom
2014-09-08 12:42     ` Emil Velikov
2014-09-16 13:43 ` Josh Boyer
2014-09-17  0:03   ` Dave Airlie
2014-09-22 19:58   ` Julien Cristau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox