serial: fix NULL pointer dereference
[safe/jmp/linux-2.6] / include / linux / serial_reg.h
index 96c0d93..cf9327c 100644 (file)
 
 #define UART_IIR_TOD   0x08    /* Character Timeout Indication Detected */
 
-#define UART_FCR_PXAR1 0x00    /* receive FIFO treshold = 1 */
-#define UART_FCR_PXAR8 0x40    /* receive FIFO treshold = 8 */
-#define UART_FCR_PXAR16        0x80    /* receive FIFO treshold = 16 */
-#define UART_FCR_PXAR32        0xc0    /* receive FIFO treshold = 32 */
+#define UART_FCR_PXAR1 0x00    /* receive FIFO threshold = 1 */
+#define UART_FCR_PXAR8 0x40    /* receive FIFO threshold = 8 */
+#define UART_FCR_PXAR16        0x80    /* receive FIFO threshold = 16 */
+#define UART_FCR_PXAR32        0xc0    /* receive FIFO threshold = 32 */
 
 
 
 #define UART_OMAP_MVER         0x14    /* Module version register */
 #define UART_OMAP_SYSC         0x15    /* System configuration register */
 #define UART_OMAP_SYSS         0x16    /* System status register */
+#define UART_OMAP_WER          0x17    /* Wake-up enable register */
 
 #endif /* _LINUX_SERIAL_REG_H */