summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-07-29 20:21:28 -0700
committerArve Hjønnevåg <arve@android.com>2010-02-08 15:35:56 -0800
commitf5353976c6a13732718b472ad308af1bb997f025 (patch)
treea80e24c7d10b96eb940fedb52e7fc389ec963dbb /include
parent3431d2fb2dc6e731081e1b7203953b63fe5ad373 (diff)
serial_core: Add wake_peer uart operation which is called before starting UART TX. The idea here is to provide a mechanism where we can wakeup our peer before sending data.
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/serial_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index db532ce288be..743f48ac71dc 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -217,6 +217,7 @@ struct uart_ops {
void (*pm)(struct uart_port *, unsigned int state,
unsigned int oldstate);
int (*set_wake)(struct uart_port *, unsigned int state);
+ void (*wake_peer)(struct uart_port *);
/*
* Return a string describing the type of the port