[Uboot-stm32] [PATCH 5/6] scmi: cosmetic: reorder include files

Patrice CHOTARD patrice.chotard at foss.st.com
Fri Mar 12 13:26:00 CET 2021



On 3/9/21 2:04 PM, Patrice CHOTARD wrote:
> Hi Patrick
> 
> On 2/24/21 11:19 AM, Patrick Delaunay wrote:
>> Reorder include files in expected order.
>>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
>> ---
>>
>>  drivers/firmware/scmi/mailbox_agent.c     | 2 +-
>>  drivers/firmware/scmi/scmi_agent-uclass.c | 3 +--
>>  2 files changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/firmware/scmi/mailbox_agent.c b/drivers/firmware/scmi/mailbox_agent.c
>> index 8043e2c2de..ea35e7e09e 100644
>> --- a/drivers/firmware/scmi/mailbox_agent.c
>> +++ b/drivers/firmware/scmi/mailbox_agent.c
>> @@ -7,11 +7,11 @@
>>  
>>  #include <common.h>
>>  #include <dm.h>
>> -#include <dm/device_compat.h>
>>  #include <errno.h>
>>  #include <mailbox.h>
>>  #include <scmi_agent.h>
>>  #include <scmi_agent-uclass.h>
>> +#include <dm/device_compat.h>
>>  #include <dm/devres.h>
>>  #include <linux/compat.h>
>>  
>> diff --git a/drivers/firmware/scmi/scmi_agent-uclass.c b/drivers/firmware/scmi/scmi_agent-uclass.c
>> index 2491e0a747..527163b5ce 100644
>> --- a/drivers/firmware/scmi/scmi_agent-uclass.c
>> +++ b/drivers/firmware/scmi/scmi_agent-uclass.c
>> @@ -7,11 +7,10 @@
>>  
>>  #include <common.h>
>>  #include <dm.h>
>> -#include <dm/device_compat.h>
>>  #include <errno.h>
>>  #include <scmi_agent-uclass.h>
>>  #include <scmi_protocols.h>
>> -
>> +#include <dm/device_compat.h>
>>  #include <dm/device-internal.h>
>>  #include <linux/compat.h>
>>  
>>
> 
> 
> Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
> 
> Thanks
> Patrice
> 
Applied to u-boot-stm/next

Thanks

Patrice


More information about the U-Boot mailing list