summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-08-11 20:05:58 -0700
committermattis fjallstrom <mattis@acm.org>2015-08-11 20:06:34 -0700
commit828496eb80e97b7dbd4921ad64b1799ba2e5dd5b (patch)
tree3accafab470e063df54a08bde52a6062e562d467 /include
parenta25960e811a1aa56814deed47e257c1cddc90084 (diff)
parent9ccd6e0d99208ca9a7bb514cc956b1de6800940b (diff)
downloadolio-linux-3.10-828496eb80e97b7dbd4921ad64b1799ba2e5dd5b.tar.xz
olio-linux-3.10-828496eb80e97b7dbd4921ad64b1799ba2e5dd5b.zip
Merge branch 'mindtribe_dev' into android-3.10-bringup
Conflicts: arch/arm/boot/dts/omap3_h1.dts drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c Both resolved. Change-Id: I42c070961bff246b07179dcaae1fc784dddb0328
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 */