Re: [PATCH v2 5/6] serial: 8250/mediatek: fix building with SERIAL_8250=m

From: Arnd Bergmann
Date: Thu Feb 11 2016 - 11:33:28 EST


On Thursday 11 February 2016 11:04:38 you wrote:
> > diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c
> > index 6ecc6e3e82dc..55be90c1d85e 100644
> > --- a/drivers/tty/serial/8250/8250_mtk.c
> > +++ b/drivers/tty/serial/8250/8250_mtk.c
> > @@ -19,6 +19,7 @@
> > #include <linux/module.h>
> > #include <linux/of_irq.h>
> > #include <linux/of_platform.h>
> > +#include <linux/module.h>
>
> Something isn't right here ; I can see module.h three lines up in the
> context. Guessing your addition of the revert makes this addition no
> longer required...
>

Ok, thanks for noticing this. Also, I really should know my alphabet
at this point. I saw that the headers were sorted alphabetically and
thought I had added it in the right place, which would have worked fine
after the revert. Oh well.

Arnd