mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
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>
This commit is contained in:
parent
3ae988d97b
commit
520402bbc6
2 changed files with 0 additions and 79 deletions
|
@ -69,17 +69,6 @@ enum {
|
|||
SCIx_MUX_IRQ = SCIx_NR_IRQS, /* special case */
|
||||
};
|
||||
|
||||
/* Offsets into the sci_port->gpios array */
|
||||
enum {
|
||||
SCIx_SCK,
|
||||
SCIx_RXD,
|
||||
SCIx_TXD,
|
||||
SCIx_CTS,
|
||||
SCIx_RTS,
|
||||
|
||||
SCIx_NR_FNS,
|
||||
};
|
||||
|
||||
enum {
|
||||
SCIx_PROBE_REGTYPE,
|
||||
|
||||
|
@ -141,7 +130,6 @@ struct plat_sci_port_ops {
|
|||
struct plat_sci_port {
|
||||
unsigned long mapbase; /* resource base */
|
||||
unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */
|
||||
unsigned int gpios[SCIx_NR_FNS]; /* SCK, RXD, TXD, CTS, RTS */
|
||||
unsigned int type; /* SCI / SCIF / IRDA / HSCIF */
|
||||
upf_t flags; /* UPF_* flags */
|
||||
unsigned long capabilities; /* Port features/capabilities */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue