Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: OMAP: serial: remove last vestige of DTR_gpio support.


These fields were added by:
commit 9574f36fb801035f6ab0fbb1b53ce2c12c17d100
OMAP/serial: Add support for driving a GPIO as DTR.

but not removed by

commit 985bfd54c826c0ba873ca0adfd5589263e0c6ee2
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>

authored by

NeilBrown and committed by
Tony Lindgren
7aff221c b771ca92

-6
-3
arch/arm/mach-omap2/serial.c
··· 263 263 omap_up.dma_rx_timeout = info->dma_rx_timeout; 264 264 omap_up.dma_rx_poll_rate = info->dma_rx_poll_rate; 265 265 omap_up.autosuspend_timeout = info->autosuspend_timeout; 266 - omap_up.DTR_gpio = info->DTR_gpio; 267 - omap_up.DTR_inverted = info->DTR_inverted; 268 - omap_up.DTR_present = info->DTR_present; 269 266 270 267 pdata = &omap_up; 271 268 pdata_size = sizeof(struct omap_uart_port_info);
-3
include/linux/platform_data/serial-omap.h
··· 38 38 unsigned int dma_rx_timeout; 39 39 unsigned int autosuspend_timeout; 40 40 unsigned int dma_rx_poll_rate; 41 - int DTR_gpio; 42 - int DTR_inverted; 43 - int DTR_present; 44 41 45 42 int (*get_context_loss_count)(struct device *); 46 43 void (*enable_wakeup)(struct device *, bool);