diff options
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/sa11x0-serial.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/platform_data/sa11x0-serial.h b/include/linux/platform_data/sa11x0-serial.h index 8b79ab08af45..319fcc566626 100644 --- a/include/linux/platform_data/sa11x0-serial.h +++ b/include/linux/platform_data/sa11x0-serial.h @@ -12,6 +12,13 @@ struct uart_port; struct uart_info; +enum { + SA11X0_WAKE_CTS = BIT(0), + SA11X0_WAKE_DCD = BIT(1), + SA11X0_WAKE_DSR = BIT(2), + SA11X0_WAKE_RI = BIT(3), +}; + /* * This is a temporary structure for registering these * functions; it is intended to be discarded after boot. @@ -20,7 +27,7 @@ struct sa1100_port_fns { void (*set_mctrl)(struct uart_port *, u_int); u_int (*get_mctrl)(struct uart_port *); void (*pm)(struct uart_port *, u_int, u_int); - int (*set_wake)(struct uart_port *, u_int); + unsigned wake[3]; }; #ifdef CONFIG_SERIAL_SA1100 |