[U-Boot] [U-Boot, 1/3] mmc: dw_mmc: remove the duplicated header file

Jaehoon Chung jh80.chung at samsung.com
Fri Aug 5 04:25:32 CEST 2016


On 07/19/2016 04:33 PM, Jaehoon Chung wrote:
> <asm-generic/errno.h> is already included in <errno.h>.
> It can use <errno.h> instead of <asm-generic/errno.h>
> 
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied on u-boot-mmc. Thanks!

Best Regards,
Jaehoon Chung


> ---
>  drivers/mmc/dw_mmc.c        | 1 -
>  drivers/mmc/exynos_dw_mmc.c | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
> index 2cf7bae..8687368 100644
> --- a/drivers/mmc/dw_mmc.c
> +++ b/drivers/mmc/dw_mmc.c
> @@ -13,7 +13,6 @@
>  #include <memalign.h>
>  #include <mmc.h>
>  #include <dwmmc.h>
> -#include <asm-generic/errno.h>
>  
>  #define PAGE_SIZE 4096
>  
> diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
> index 283befc..57271f1 100644
> --- a/drivers/mmc/exynos_dw_mmc.c
> +++ b/drivers/mmc/exynos_dw_mmc.c
> @@ -10,12 +10,12 @@
>  #include <fdtdec.h>
>  #include <libfdt.h>
>  #include <malloc.h>
> +#include <errno.h>
>  #include <asm/arch/dwmmc.h>
>  #include <asm/arch/clk.h>
>  #include <asm/arch/pinmux.h>
>  #include <asm/arch/power.h>
>  #include <asm/gpio.h>
> -#include <asm-generic/errno.h>
>  
>  #define	DWMMC_MAX_CH_NUM		4
>  #define	DWMMC_MAX_FREQ			52000000
> 



More information about the U-Boot mailing list