Commit 92634fea authored by Russell King's avatar Russell King

[SERIAL] Fix 8250 revision width.

Patch from wli, edited by rmk.

'rev' needs to be at least 16 bits.
parent c5ff7ff5
...@@ -122,13 +122,13 @@ struct uart_8250_port { ...@@ -122,13 +122,13 @@ struct uart_8250_port {
struct uart_port port; struct uart_port port;
struct timer_list timer; /* "no irq" timer */ struct timer_list timer; /* "no irq" timer */
struct list_head list; /* ports on this IRQ */ struct list_head list; /* ports on this IRQ */
unsigned short rev;
unsigned char acr; unsigned char acr;
unsigned char ier; unsigned char ier;
unsigned char rev;
unsigned char lcr; unsigned char lcr;
unsigned char mcr_mask; /* mask of user bits */ unsigned char mcr_mask; /* mask of user bits */
unsigned char mcr_force; /* mask of forced bits */ unsigned char mcr_force; /* mask of forced bits */
unsigned int lsr_break_flag; unsigned char lsr_break_flag;
/* /*
* We provide a per-port pm hook. * We provide a per-port pm hook.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment