[U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order
Simon Glass
sjg at chromium.org
Sun Aug 16 23:11:05 CEST 2015
Hi Marcel,
On 15 August 2015 at 20:16, Marcel Ziswiler <marcel at ziswiler.com> wrote:
> Cleaning up order of include files by sorting them alphabetically
> keeping in mind to leave common.h on top.
>
> Signed-off-by: Marcel Ziswiler <marcel at ziswiler.com>
> ---
>
> drivers/mmc/tegra_mmc.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegra_mmc.c
> index 6f8b4d0..078df39 100644
> --- a/drivers/mmc/tegra_mmc.c
> +++ b/drivers/mmc/tegra_mmc.c
> @@ -7,14 +7,14 @@
> * SPDX-License-Identifier: GPL-2.0+
> */
>
> -#include <bouncebuf.h>
> #include <common.h>
> -#include <asm/gpio.h>
> -#include <asm/io.h>
> #include <asm/arch/clock.h>
> #include <asm/arch-tegra/clk_rst.h>
> #include <asm/arch-tegra/mmc.h>
> #include <asm/arch-tegra/tegra_mmc.h>
> +#include <asm/gpio.h>
> +#include <asm/io.h>
> +#include <bouncebuf.h>
> #include <mmc.h>
>
> DECLARE_GLOBAL_DATA_PTR;
> --
> 2.4.3
>
Thanks for tidying this up. But the ordering should be:
<common.h>
<others.h>
<asm/...>
<arch/arm/...>
<linux/...>
"local.h"
Regards,
Simon
More information about the U-Boot
mailing list