summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/serial-omap.h5
-rw-r--r--include/linux/serial_core.h2
-rw-r--r--include/linux/wakeup_reason.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/platform_data/serial-omap.h b/include/linux/platform_data/serial-omap.h
index 9990f7cd03c..b430bbc3093 100644
--- a/include/linux/platform_data/serial-omap.h
+++ b/include/linux/platform_data/serial-omap.h
@@ -45,10 +45,13 @@ struct omap_uart_port_info {
bool wakeup_capable;
bool open_close_pm;
unsigned int rx_trig;
+ bool rts_wait;
int (*get_context_loss_count)(struct device *);
void (*enable_wakeup)(struct device *, bool);
- void (*wake_peer)(struct uart_port *);
+ void (*wake_peer)(struct uart_port *);
+ void (*rts_enable_fn)(void);
+ void (*rts_disable_fn)(void);
};
extern void omap_uart_remove_wakeup(struct device *dev);
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 8148bc7d0a8..20920ee1b19 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -68,6 +68,8 @@ struct uart_ops {
unsigned int oldstate);
int (*set_wake)(struct uart_port *, unsigned int state);
void (*wake_peer)(struct uart_port *);
+ void (*rts_enable)(struct uart_port *);
+ void (*rts_disable)(struct uart_port *);
/*
* Return a string describing the type of the port
diff --git a/include/linux/wakeup_reason.h b/include/linux/wakeup_reason.h
index b58723ab7c7..e5f3e1f44ae 100644
--- a/include/linux/wakeup_reason.h
+++ b/include/linux/wakeup_reason.h
@@ -19,7 +19,7 @@
#define _LINUX_WAKEUP_REASON_H
void log_wakeup_reason(int irq);
-int get_last_wakeup_reason();
+int get_last_wakeup_reason(void);
int last_wakeup_reason_test(int reason);
#endif /* _LINUX_WAKEUP_REASON_H */