diff options
author | Felipe Balbi <balbi@ti.com> | 2012-09-07 11:34:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-07 11:39:39 -0400 |
commit | e36851d0fa94b0f7802b3cc80406dbd3ef4f2f16 (patch) | |
tree | bfcf01207c1f267bb58d531d6b491e762270d830 | |
parent | b1b799164afb22711e6bee718f2a5ee669bb9517 (diff) |
serial: omap: fix compile breakage
when rebasing patches on top of Greg's tty-next,
it looks like automerge broke a few things which
I didn't catch (for whatever reason I didn't
have OMAP Serial enabled on .config) so I ended
up breaking the build on Greg's tty-next branch.
Fix the breakage by re-adding the three missing
members on struct uart_omap_port.
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap-serial.h | 4 | ||||
-rw-r--r-- | drivers/tty/serial/omap-serial.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/arch/arm/plat-omap/include/plat/omap-serial.h index 3c9fd3e4263f..a531149823bb 100644 --- a/arch/arm/plat-omap/include/plat/omap-serial.h +++ b/arch/arm/plat-omap/include/plat/omap-serial.h | |||
@@ -105,8 +105,4 @@ struct uart_omap_dma { | |||
105 | unsigned int rx_timeout; | 105 | unsigned int rx_timeout; |
106 | }; | 106 | }; |
107 | 107 | ||
108 | |||
109 | int DTR_gpio; | ||
110 | int DTR_inverted; | ||
111 | int DTR_active; | ||
112 | #endif /* __OMAP_SERIAL_H__ */ | 108 | #endif /* __OMAP_SERIAL_H__ */ |
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index cfd209485af7..0a6e78e15a40 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c | |||
@@ -100,6 +100,10 @@ struct uart_omap_port { | |||
100 | u8 wakeups_enabled; | 100 | u8 wakeups_enabled; |
101 | unsigned int irq_pending:1; | 101 | unsigned int irq_pending:1; |
102 | 102 | ||
103 | int DTR_gpio; | ||
104 | int DTR_inverted; | ||
105 | int DTR_active; | ||
106 | |||
103 | struct pm_qos_request pm_qos_request; | 107 | struct pm_qos_request pm_qos_request; |
104 | u32 latency; | 108 | u32 latency; |
105 | u32 calc_latency; | 109 | u32 calc_latency; |