Skip to contentSkip to conversation

Char: rocket, add MODULE_DEVICE_TABLE

PATCH New Jiri Slaby 1 participant 2 messages Mar 21, 2007 Char and misc drivers

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/2 Char: rocket, add MODULE_DEVICE_TABLE

rocket, add MODULE_DEVICE_TABLE

---
commit c0854f5f8b3912aa8f31d329be14306349fb9a27
tree 8826447bb912fdb9b84f5b092276e72bf505253e
parent bb9798e15d86ada19f4d15e31124dc240df78899
author Jiri Slaby <[email protected]> Wed, 21 Mar 2007 15:09:58 +0100 committer Jiri Slaby <[email protected]> Wed, 21 Mar 2007 15:09:58 +0100

 drivers/char/rocket.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
drivers/char/rocket.c +6 -0
index 76357c8..cb4044a 100644
@@ -1852,6 +1852,12 @@ static void rp_flush_buffer(struct tty_struct *tty)
 
 #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,
  *  init's aiopic and serial port hardware.
author
#1 lore raw

PATCH 2/2 Char: cs5535_gpio, add MODULE_DEVICE_TABLE

cs5535_gpio, add MODULE_DEVICE_TABLE

---
commit 5c1471a017fdf505ae98b930a928753111661375
tree e54b3d338ea2bf7878620148f2bfd56196f8d2c3
parent c0854f5f8b3912aa8f31d329be14306349fb9a27
author Jiri Slaby <[email protected]> Wed, 21 Mar 2007 15:23:34 +0100 committer Jiri Slaby <[email protected]> Wed, 21 Mar 2007 15:23:34 +0100

 drivers/char/cs5535_gpio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/char/cs5535_gpio.c +1 -0
index c02d9e9..fe6d240 100644
@@ -44,6 +44,7 @@ static struct pci_device_id divil_pci[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA) },
 	{ } /* NULL entry */
 };
+MODULE_DEVICE_TABLE(pci, divil_pci);
 
 static struct cdev cs5535_gpio_cdev;