diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-03-27 02:13:39 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-27 02:13:39 +0400 |
commit | fbb18a277a6f192404aa20ece49529acb1e1e76d (patch) | |
tree | 2ae2b039d05ce15ad6e0f7209877aaf918f8f24a /include | |
parent | 335bd9dff31d042b773591933d3ee5bd62d5ea27 (diff) | |
download | linux-fbb18a277a6f192404aa20ece49529acb1e1e76d.tar.xz |
[SERIAL] amba-pl010: allow platforms to specify modem control method
The amba-pl010 hardware does not provide RTS and DTR control lines; it
is expected that these will be implemented using GPIO. Allow platforms
to supply a function to implement manipulation of modem control lines.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/amba/serial.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/amba/serial.h b/include/linux/amba/serial.h index dc726ffccebd..48ee32a18ac5 100644 --- a/include/linux/amba/serial.h +++ b/include/linux/amba/serial.h @@ -158,4 +158,10 @@ #define UART01x_RSR_ANY (UART01x_RSR_OE|UART01x_RSR_BE|UART01x_RSR_PE|UART01x_RSR_FE) #define UART01x_FR_MODEM_ANY (UART01x_FR_DCD|UART01x_FR_DSR|UART01x_FR_CTS) +#ifndef __ASSEMBLY__ +struct amba_pl010_data { + void (*set_mctrl)(struct amba_device *dev, void __iomem *base, unsigned int mctrl); +}; +#endif + #endif |