[PATCH] tty: atmel_serial: include <mach/hardware.h> explicitly

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Nov 27 05:02:43 EST 2013


On Wed, Nov 27, 2013 at 10:48:19AM +0100, Nicolas Ferre wrote:
> On 27/11/2013 10:38, Uwe Kleine-König :
> >When compiled for at91rm9200 (i.e. ARM) the driver needs among others
> >the symbol AT91RM9200_BASE_US0 which is defined in
> >arch/arm/mach-at91/include/mach/at91rm9200.h. This file is included
> >implicitly via several steps. As ARM's <asm/timex.h> will stop including
> ><mach/hardware.h> later in this series explicitly include
> ><mach/hardware.h>
> >
> >Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> 
> Uwe, this AT91RM9200_BASE_US0 value is supposed to disappear in 3.14
> tanks to a patch from Linus W. ([PATCH v4] ARM/serial: at91: switch
> atmel serial to use gpiolib) (not in linux-next yet).
> 
> So I think that this patch is not needed for 3.14.
So I'll keep this patch in my queue for now, but keep an eye on this
one. The other symbols were dropped, too?

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list