2013-04-09 12:45:11

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH] mmc: atmel-mci: remove include <mach/cpu.h>

Header file not needed anymore as we have removed
the calls to cpu_is_xxx() macro.

Signed-off-by: Nicolas Ferre <[email protected]>
---
drivers/mmc/host/atmel-mci.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index e75774f..08e2b92 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -40,8 +40,6 @@
#include <asm/io.h>
#include <asm/unaligned.h>

-#include <mach/cpu.h>
-
#include "atmel-mci-regs.h"

#define ATMCI_DATA_ERROR_FLAGS (ATMCI_DCRCE | ATMCI_DTOE | ATMCI_OVRE | ATMCI_UNRE)
--
1.8.0


Subject: Re: [PATCH] mmc: atmel-mci: remove include <mach/cpu.h>

On 11:42 Wed 05 Jun , Ludovic Desroches wrote:
> On Tue, Apr 09, 2013 at 02:45:00PM +0200, Nicolas Ferre wrote:
> > Header file not needed anymore as we have removed
> > the calls to cpu_is_xxx() macro.
> >
> > Signed-off-by: Nicolas Ferre <[email protected]>
>
> Late but of course:
>
> Acked-by: Ludovic Desroches <[email protected]>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

Best Regards,
J.
>
> > ---
> > drivers/mmc/host/atmel-mci.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
> > index e75774f..08e2b92 100644
> > --- a/drivers/mmc/host/atmel-mci.c
> > +++ b/drivers/mmc/host/atmel-mci.c
> > @@ -40,8 +40,6 @@
> > #include <asm/io.h>
> > #include <asm/unaligned.h>
> >
> > -#include <mach/cpu.h>
> > -
> > #include "atmel-mci-regs.h"
> >
> > #define ATMCI_DATA_ERROR_FLAGS (ATMCI_DCRCE | ATMCI_DTOE | ATMCI_OVRE | ATMCI_UNRE)
> > --
> > 1.8.0
> >

2013-06-27 15:27:12

by Chris Ball

[permalink] [raw]
Subject: Re: [PATCH] mmc: atmel-mci: remove include <mach/cpu.h>

Hi,

On Thu, Jun 06 2013, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 11:42 Wed 05 Jun , Ludovic Desroches wrote:
>> On Tue, Apr 09, 2013 at 02:45:00PM +0200, Nicolas Ferre wrote:
>> > Header file not needed anymore as we have removed
>> > the calls to cpu_is_xxx() macro.
>> >
>> > Signed-off-by: Nicolas Ferre <[email protected]>
>>
>> Late but of course:
>>
>> Acked-by: Ludovic Desroches <[email protected]>
> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

Thanks, pushed to mmc-next for 3.11.

- Chris.
--
Chris Ball <[email protected]> <http://printf.net/>
One Laptop Per Child