File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 147
147
*
148
148
* MPIO Port Function
149
149
* ---- ---- --------
150
- * 0 2 Mode bit 0
150
+ * 0 2 Mode bit 0
151
151
* 1 2 Mode bit 1
152
152
* 2 2 Terminate bus
153
153
* 3 - <reserved>
@@ -229,8 +229,8 @@ struct exar8250_platform {
229
229
int (* rs485_config )(struct uart_port * port , struct ktermios * termios ,
230
230
struct serial_rs485 * rs485 );
231
231
const struct serial_rs485 * rs485_supported ;
232
- int (* register_gpio )(struct pci_dev * , struct uart_8250_port * );
233
- void (* unregister_gpio )(struct uart_8250_port * );
232
+ int (* register_gpio )(struct pci_dev * pcidev , struct uart_8250_port * port );
233
+ void (* unregister_gpio )(struct uart_8250_port * port );
234
234
};
235
235
236
236
/**
@@ -245,8 +245,8 @@ struct exar8250_board {
245
245
unsigned int num_ports ;
246
246
unsigned int reg_shift ;
247
247
int (* board_init )(struct exar8250 * priv , struct pci_dev * pcidev );
248
- int (* setup )(struct exar8250 * , struct pci_dev * ,
249
- struct uart_8250_port * , int );
248
+ int (* setup )(struct exar8250 * priv , struct pci_dev * pcidev ,
249
+ struct uart_8250_port * port , int idx );
250
250
void (* exit )(struct pci_dev * pcidev );
251
251
};
252
252
You can’t perform that action at this time.
0 commit comments