2016-03-14 05:45:55

by Wang, Annie

[permalink] [raw]
Subject: [PATCH v2] ARM: mmci:Remove unnecessary #include header file in mmci.c

The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.

Signed-off-by: Wang Hongcheng <[email protected]>
---
drivers/mmc/host/mmci.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index fb26674..e5e5441 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -40,7 +40,6 @@

#include <asm/div64.h>
#include <asm/io.h>
-#include <asm/sizes.h>

#include "mmci.h"
#include "mmci_qcom_dml.h"
--
1.9.1


2016-03-16 11:37:55

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: mmci:Remove unnecessary #include header file in mmci.c

On 14 March 2016 at 06:44, Wang Hongcheng <[email protected]> wrote:
> The header file asm/sizes.h is unnecessary.
> And it can also be compiled under X86 arch after the removal.
>
> Signed-off-by: Wang Hongcheng <[email protected]>

Thanks, applied for next! I took the liberty to update the change log
a bit as well as the header for it.

Kind regards
Uffe

> ---
> drivers/mmc/host/mmci.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
> index fb26674..e5e5441 100644
> --- a/drivers/mmc/host/mmci.c
> +++ b/drivers/mmc/host/mmci.c
> @@ -40,7 +40,6 @@
>
> #include <asm/div64.h>
> #include <asm/io.h>
> -#include <asm/sizes.h>
>
> #include "mmci.h"
> #include "mmci_qcom_dml.h"
> --
> 1.9.1
>