public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Char: rocket, add MODULE_DEVICE_TABLE
@ 2007-03-21 14:31 Jiri Slaby
  2007-03-21 14:31 ` [PATCH 2/2] Char: cs5535_gpio, " Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2007-03-21 14:31 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, tytso

rocket, add MODULE_DEVICE_TABLE

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>

---
commit c0854f5f8b3912aa8f31d329be14306349fb9a27
tree 8826447bb912fdb9b84f5b092276e72bf505253e
parent bb9798e15d86ada19f4d15e31124dc240df78899
author Jiri Slaby <jirislaby@gmail.com> Wed, 21 Mar 2007 15:09:58 +0100
committer Jiri Slaby <jirislaby@gmail.com> 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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-21 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-21 14:31 [PATCH 1/2] Char: rocket, add MODULE_DEVICE_TABLE Jiri Slaby
2007-03-21 14:31 ` [PATCH 2/2] Char: cs5535_gpio, " Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox