Skip to content

Commit

Permalink
ARM: OMAP: serial: remove last vestige of DTR_gpio support.
Browse files Browse the repository at this point in the history
These fields were added by:
commit 9574f36
    OMAP/serial: Add support for driving a GPIO as DTR.

but not removed by

commit 985bfd5
    tty: serial: omap: remove some dead code

which reverted most of that commit.
Time to revert the rest.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
NeilBrown authored and Tony Lindgren committed Nov 10, 2014
1 parent b771ca9 commit 7aff221
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata,
omap_up.dma_rx_timeout = info->dma_rx_timeout;
omap_up.dma_rx_poll_rate = info->dma_rx_poll_rate;
omap_up.autosuspend_timeout = info->autosuspend_timeout;
omap_up.DTR_gpio = info->DTR_gpio;
omap_up.DTR_inverted = info->DTR_inverted;
omap_up.DTR_present = info->DTR_present;

pdata = &omap_up;
pdata_size = sizeof(struct omap_uart_port_info);
Expand Down
3 changes: 0 additions & 3 deletions include/linux/platform_data/serial-omap.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ struct omap_uart_port_info {
unsigned int dma_rx_timeout;
unsigned int autosuspend_timeout;
unsigned int dma_rx_poll_rate;
int DTR_gpio;
int DTR_inverted;
int DTR_present;

int (*get_context_loss_count)(struct device *);
void (*enable_wakeup)(struct device *, bool);
Expand Down

0 comments on commit 7aff221

Please sign in to comment.