[PATCH 1/2] Char: rocket, add MODULE_DEVICE_TABLE

From: Jiri Slaby
Date: Wed Mar 21 2007 - 10:31:34 EST


rocket, add MODULE_DEVICE_TABLE

Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>

---
commit c0854f5f8b3912aa8f31d329be14306349fb9a27
tree 8826447bb912fdb9b84f5b092276e72bf505253e
parent bb9798e15d86ada19f4d15e31124dc240df78899
author Jiri Slaby <jirislaby@xxxxxxxxx> Wed, 21 Mar 2007 15:09:58 +0100
committer Jiri Slaby <jirislaby@xxxxxxxxx> Wed, 21 Mar 2007 15:09:58 +0100

drivers/char/rocket.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 76357c8..cb4044a 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rocket.c
@@ -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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/