aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/8250_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/8250_pci.c')
-rw-r--r--drivers/serial/8250_pci.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c
index 4e9084edfc7e..52b0a0558ed4 100644
--- a/drivers/serial/8250_pci.c
+++ b/drivers/serial/8250_pci.c
@@ -46,7 +46,7 @@ struct pci_serial_quirk {
46 u32 subdevice; 46 u32 subdevice;
47 int (*init)(struct pci_dev *dev); 47 int (*init)(struct pci_dev *dev);
48 int (*setup)(struct serial_private *, struct pciserial_board *, 48 int (*setup)(struct serial_private *, struct pciserial_board *,
49 struct uart_port *port, int idx); 49 struct uart_port *, int);
50 void (*exit)(struct pci_dev *dev); 50 void (*exit)(struct pci_dev *dev);
51}; 51};
52 52
@@ -436,25 +436,6 @@ static int pci_siig_init(struct pci_dev *dev)
436 return -ENODEV; 436 return -ENODEV;
437} 437}
438 438
439int pci_siig10x_fn(struct pci_dev *dev, int enable)
440{
441 int ret = 0;
442 if (enable)
443 ret = pci_siig10x_init(dev);
444 return ret;
445}
446
447int pci_siig20x_fn(struct pci_dev *dev, int enable)
448{
449 int ret = 0;
450 if (enable)
451 ret = pci_siig20x_init(dev);
452 return ret;
453}
454
455EXPORT_SYMBOL(pci_siig10x_fn);
456EXPORT_SYMBOL(pci_siig20x_fn);
457
458/* 439/*
459 * Timedia has an explosion of boards, and to avoid the PCI table from 440 * Timedia has an explosion of boards, and to avoid the PCI table from
460 * growing *huge*, we use this function to collapse some 70 entries 441 * growing *huge*, we use this function to collapse some 70 entries