summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-08-11 19:29:20 -0700
committermattis fjallstrom <mattis@acm.org>2015-08-11 19:29:20 -0700
commit9ccd6e0d99208ca9a7bb514cc956b1de6800940b (patch)
tree3e5550dd0998fafb61e1d871a8da4df987f04f5a /include/linux
parentb66fe63ea9d50a1049d9142559121d16f86db9eb (diff)
downloadolio-linux-3.10-9ccd6e0d99208ca9a7bb514cc956b1de6800940b.tar.xz
olio-linux-3.10-9ccd6e0d99208ca9a7bb514cc956b1de6800940b.zip
Bluetooth working in sleep mode.
Change-Id: I20e42e204dbf73c5f8468fc7733fa29c6ea1c2f2
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform_data/serial-omap.h5
-rw-r--r--include/linux/serial_core.h2
2 files changed, 6 insertions, 1 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