[2/2] drm/amdgpu: Drop drm/ prefix for including drm.h in amdgpu_drm.h
diff mbox

Message ID 1437553741-26553-2-git-send-email-michel@daenzer.net
State New
Headers show

Commit Message

Michel Dänzer July 22, 2015, 8:29 a.m. UTC
From: Michel Dänzer <michel.daenzer@amd.com>

This allows amdgpu_drm.h to be reused verbatim in libdrm.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
---
 include/uapi/drm/amdgpu_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Deucher July 22, 2015, 7:28 p.m. UTC | #1
On Wed, Jul 22, 2015 at 4:29 AM, Michel Dänzer <michel@daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer@amd.com>
>
> This allows amdgpu_drm.h to be reused verbatim in libdrm.
>
> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  include/uapi/drm/amdgpu_drm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
> index 780a581..ce4d617 100644
> --- a/include/uapi/drm/amdgpu_drm.h
> +++ b/include/uapi/drm/amdgpu_drm.h
> @@ -32,7 +32,7 @@
>  #ifndef __AMDGPU_DRM_H__
>  #define __AMDGPU_DRM_H__
>
> -#include <drm/drm.h>
> +#include "drm.h"
>
>  #define DRM_AMDGPU_GEM_CREATE          0x00
>  #define DRM_AMDGPU_GEM_MMAP            0x01
> --
> 2.1.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

Patch
diff mbox

diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 780a581..ce4d617 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -32,7 +32,7 @@ 
 #ifndef __AMDGPU_DRM_H__
 #define __AMDGPU_DRM_H__
 
-#include <drm/drm.h>
+#include "drm.h"
 
 #define DRM_AMDGPU_GEM_CREATE		0x00
 #define DRM_AMDGPU_GEM_MMAP		0x01