[Intel-gfx] [PATCH] drm/i915/pxp: fix includes for headers in include/drm

Jani Nikula jani.nikula at intel.com
Fri Nov 19 13:53:58 UTC 2021


On Tue, 16 Nov 2021, Rodrigo Vivi <rodrigo.vivi at intel.com> wrote:
> On Tue, Nov 16, 2021 at 03:58:13PM +0200, Jani Nikula wrote:
>> Use <> not "" for including headers from include/drm.
>> 
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

Thanks, pushed to drm-intel-next.

BR,
Jani.

>
>> ---
>>  drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 3 ++-
>>  drivers/gpu/drm/i915/pxp/intel_pxp_tee.c     | 6 ++++--
>>  2 files changed, 6 insertions(+), 3 deletions(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/pxp/intel_pxp_session.c b/drivers/gpu/drm/i915/pxp/intel_pxp_session.c
>> index d02732f04757..598840b73dfa 100644
>> --- a/drivers/gpu/drm/i915/pxp/intel_pxp_session.c
>> +++ b/drivers/gpu/drm/i915/pxp/intel_pxp_session.c
>> @@ -3,7 +3,8 @@
>>   * Copyright(c) 2020, Intel Corporation. All rights reserved.
>>   */
>>  
>> -#include "drm/i915_drm.h"
>> +#include <drm/i915_drm.h>
>> +
>>  #include "i915_drv.h"
>>  
>>  #include "intel_pxp.h"
>> diff --git a/drivers/gpu/drm/i915/pxp/intel_pxp_tee.c b/drivers/gpu/drm/i915/pxp/intel_pxp_tee.c
>> index 49508f31dcb7..5d169624ad60 100644
>> --- a/drivers/gpu/drm/i915/pxp/intel_pxp_tee.c
>> +++ b/drivers/gpu/drm/i915/pxp/intel_pxp_tee.c
>> @@ -4,8 +4,10 @@
>>   */
>>  
>>  #include <linux/component.h>
>> -#include "drm/i915_pxp_tee_interface.h"
>> -#include "drm/i915_component.h"
>> +
>> +#include <drm/i915_pxp_tee_interface.h>
>> +#include <drm/i915_component.h>
>> +
>>  #include "i915_drv.h"
>>  #include "intel_pxp.h"
>>  #include "intel_pxp_session.h"
>> -- 
>> 2.30.2
>> 

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list