[PATCH v2 07/15] soc: qcom: smem: adjust headers for U-Boot

Neil Armstrong neil.armstrong at linaro.org
Mon May 18 16:36:53 CEST 2026


On 5/4/26 20:57, Casey Connolly wrote:
> Drop Linux headers for the U-Boot ones.
> 
> Signed-off-by: Casey Connolly <casey.connolly at linaro.org>
> ---
>   drivers/soc/qcom/smem.c | 16 +++++++---------
>   1 file changed, 7 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c
> index 8515b8ae7777..7143856e85c3 100644
> --- a/drivers/soc/qcom/smem.c
> +++ b/drivers/soc/qcom/smem.c
> @@ -3,19 +3,17 @@
>    * Copyright (c) 2015, Sony Mobile Communications AB.
>    * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
>    */
>   
> -#include <linux/hwspinlock.h>
> +#include <dm/device.h>
> +#include <dm/device_compat.h>
> +#include <dm/ofnode.h>
> +#include <linux/bug.h>
>   #include <linux/io.h>
> -#include <linux/module.h>
> -#include <linux/of.h>
> -#include <linux/of_address.h>
> -#include <linux/of_reserved_mem.h>
> -#include <linux/platform_device.h>
> +#include <linux/ioport.h>
>   #include <linux/sizes.h>
> -#include <linux/slab.h>
> -#include <linux/soc/qcom/smem.h>
> -#include <linux/soc/qcom/socinfo.h>
> +#include <soc/qcom/smem.h>
> +#include <soc/qcom/socinfo.h>
>   
>   /*
>    * The Qualcomm shared memory system is a allocate only heap structure that
>    * consists of one of more memory areas that can be accessed by the processors
> 

Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>

Thanks,
Neil


More information about the U-Boot mailing list