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

Patrice CHOTARD patrice.chotard at foss.st.com
Tue Mar 9 14:04:26 CET 2021


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


More information about the U-Boot mailing list