Re: [PATCH 1/2] drm/radeon: Drop drm/ prefix for including drm.h in radeon_drm.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22.07.2015 18:16, Daniel Vetter wrote:
> On Wed, Jul 22, 2015 at 10:38:18AM +0200, Christian König wrote:
>> On 22.07.2015 10:29, Michel Dänzer wrote:
>>> From: Michel Dänzer <michel.daenzer@xxxxxxx>
>>>
>>> This allows radeon_drm.h to be reused verbatim in libdrm.
>>>
>>> Signed-off-by: Michel Dänzer <michel.daenzer@xxxxxxx>
>>
>> For both patches Reviewed-by: Christian König <christian.koenig@xxxxxxx>
> 
> #ifdef __KERNEL__
> #include <drm/drm.h>
> #else
> #include <drm.h>
> #endif
> 
> then run
> 
> $ make headers_install
> 
> and copy results verbatim to libdrm. That's at least how it's supposed to
> be done.

What's the point of that?

#include "drm.h"

works in the kernel as well as in libdrm.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux