Quellcode durchsuchen

Char: rocket, add MODULE_DEVICE_TABLE

rocket, add MODULE_DEVICE_TABLE

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jiri Slaby vor 18 Jahren
Ursprung
Commit
8d5916d3e0
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6 0
      drivers/char/rocket.c

+ 6 - 0
drivers/char/rocket.c

@@ -1848,6 +1848,12 @@ static void rp_flush_buffer(struct tty_struct *tty)
 
 
 #ifdef CONFIG_PCI
 #ifdef CONFIG_PCI
 
 
+static struct pci_device_id __devinitdata rocket_pci_ids[] = {
+	{ PCI_DEVICE(PCI_VENDOR_ID_RP, PCI_ANY_ID) },
+	{ }
+};
+MODULE_DEVICE_TABLE(pci, rocket_pci_ids);
+
 /*
 /*
  *  Called when a PCI card is found.  Retrieves and stores model information,
  *  Called when a PCI card is found.  Retrieves and stores model information,
  *  init's aiopic and serial port hardware.
  *  init's aiopic and serial port hardware.