aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/serial.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-04-02 15:56:32 +0100
committerJan Beulich <jbeulich@novell.com>2011-04-02 15:56:32 +0100
commit06490f43250dddc40b4aaf0ff4995991f94e170a (patch)
tree4d9abe0a2ff1bc8940fbf843a9a9abe59a76daf7 /xen/include/xen/serial.h
parente1fe30b87def91bde70f793dc22b6b1f73c4b3ca (diff)
downloadxen-06490f43250dddc40b4aaf0ff4995991f94e170a.tar.gz
xen-06490f43250dddc40b4aaf0ff4995991f94e170a.tar.bz2
xen-06490f43250dddc40b4aaf0ff4995991f94e170a.zip
move setup_irq() into .init.text
With no modular drivers, all interrupt setup is supposed to happen during boot. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/serial.h')
-rw-r--r--xen/include/xen/serial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/serial.h b/xen/include/xen/serial.h
index f371b42c7b..15f7f12275 100644
--- a/xen/include/xen/serial.h
+++ b/xen/include/xen/serial.h
@@ -51,6 +51,9 @@ struct uart_driver {
void (*init_postirq)(struct serial_port *);
/* Hook to clean up after Xen bootstrap (before domain 0 runs). */
void (*endboot)(struct serial_port *);
+ /* Driver suspend/resume. */
+ void (*suspend)(struct serial_port *);
+ void (*resume)(struct serial_port *);
/* Transmit FIFO ready to receive up to @tx_fifo_size characters? */
int (*tx_empty)(struct serial_port *);
/* Put a character onto the serial line. */