diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-12-06 04:59:18 -0500 |
|---|---|---|
| committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-23 21:17:50 -0500 |
| commit | 520402bbc6fe328ae28e08bfc87a2b1eb7f10b2c (patch) | |
| tree | 1d13d938c31ca8a612be09ff28398253dee9a781 /include/linux | |
| parent | 3ae988d97b160c07463b980ccf26ed9226660fef (diff) | |
serial: sh-sci: Remove unused GPIO request code
The driver requests at initialization time GPIOs passed through platform
data. No platform makes use of this feature, remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/serial_sci.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index af9834bc6771..e9c3021a37ae 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h | |||
| @@ -69,17 +69,6 @@ enum { | |||
| 69 | SCIx_MUX_IRQ = SCIx_NR_IRQS, /* special case */ | 69 | SCIx_MUX_IRQ = SCIx_NR_IRQS, /* special case */ |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | /* Offsets into the sci_port->gpios array */ | ||
| 73 | enum { | ||
| 74 | SCIx_SCK, | ||
| 75 | SCIx_RXD, | ||
| 76 | SCIx_TXD, | ||
| 77 | SCIx_CTS, | ||
| 78 | SCIx_RTS, | ||
| 79 | |||
| 80 | SCIx_NR_FNS, | ||
| 81 | }; | ||
| 82 | |||
| 83 | enum { | 72 | enum { |
| 84 | SCIx_PROBE_REGTYPE, | 73 | SCIx_PROBE_REGTYPE, |
| 85 | 74 | ||
| @@ -141,7 +130,6 @@ struct plat_sci_port_ops { | |||
| 141 | struct plat_sci_port { | 130 | struct plat_sci_port { |
| 142 | unsigned long mapbase; /* resource base */ | 131 | unsigned long mapbase; /* resource base */ |
| 143 | unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ | 132 | unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ |
| 144 | unsigned int gpios[SCIx_NR_FNS]; /* SCK, RXD, TXD, CTS, RTS */ | ||
| 145 | unsigned int type; /* SCI / SCIF / IRDA / HSCIF */ | 133 | unsigned int type; /* SCI / SCIF / IRDA / HSCIF */ |
| 146 | upf_t flags; /* UPF_* flags */ | 134 | upf_t flags; /* UPF_* flags */ |
| 147 | unsigned long capabilities; /* Port features/capabilities */ | 135 | unsigned long capabilities; /* Port features/capabilities */ |
