Re: [PATCH-v8] serial: 8250_dw: Add support for big-endian MMIO accesses

From: Heikki Krogerus
Date: Wed Dec 09 2015 - 08:22:29 EST


On Wed, Dec 09, 2015 at 03:19:39PM +0200, Heikki Krogerus wrote:
> Hi Noam,
>
> On Sun, Oct 18, 2015 at 12:01:48PM +0300, Noam Camus wrote:
> > diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
> > index a0cdbf3..880f712 100644
> > --- a/drivers/tty/serial/8250/8250_dw.c
> > +++ b/drivers/tty/serial/8250/8250_dw.c
> > @@ -63,6 +63,9 @@ struct dw8250_data {
> > struct clk *pclk;
> > struct reset_control *rst;
> > struct uart_8250_dma dma;
> > + unsigned int (*serial_in)(void __iomem *addr);
> > + void (*serial_out)(unsigned int value,
> > + void __iomem *addr);
>
> This is really ideal ..

Meant to say _not_ ideal. Sorry about that.

Cheers,

--
heikki
--
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/