Re: [PATCH][trivial] Freescale STMP37XX/STMP378X Application UARTdriver: remove duplicate linux/device.h include

From: Jiri Kosina
Date: Tue Feb 15 2011 - 05:52:41 EST


On Mon, 14 Feb 2011, Jesper Juhl wrote:

> Do not include linux/device.h twice in drivers/tty/serial/mxs-auart.c .
> Once is enough.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
> ---
> mxs-auart.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c
> index 6d01ac9..7e02c9c 100644
> --- a/drivers/tty/serial/mxs-auart.c
> +++ b/drivers/tty/serial/mxs-auart.c
> @@ -15,7 +15,6 @@
> */
>
> #include <linux/kernel.h>
> -#include <linux/device.h>
> #include <linux/errno.h>
> #include <linux/init.h>
> #include <linux/console.h>

I don't see this file in Linus' tree as of now, so I guess this is -next
stuff. Though I will not be applying it, and will let Sascha/Dmitry to
take care of it.

Thanks,

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/