All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Harald Welte <HaraldWelte@viatech.com>,
	Samuel Ortiz <sameo@linux.intel.com>
Subject: [PATCH 3/3] mfd: vx855: add MODULE_DEVICE_TABLE
Date: Mon, 28 Feb 2011 14:34:27 +0800	[thread overview]
Message-ID: <1298874867.5562.7.camel@mola> (raw)
In-Reply-To: <1298874735.5562.3.camel@mola>

The device table is required to load modules based on modaliases.
After adding the MODULE_DEVICE_TABLE, below entries will be added to
modules.pcimap:
vx855                0x00001106 0x00008409 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/mfd/vx855.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mfd/vx855.c b/drivers/mfd/vx855.c
index 348052a..d698703 100644
--- a/drivers/mfd/vx855.c
+++ b/drivers/mfd/vx855.c
@@ -122,6 +122,7 @@ static struct pci_device_id vx855_pci_tbl[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) },
 	{ 0, }
 };
+MODULE_DEVICE_TABLE(pci, vx855_pci_tbl);
 
 static struct pci_driver vx855_pci_driver = {
 	.name		= "vx855",
-- 
1.7.2




  parent reply	other threads:[~2011-02-28  6:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28  6:32 [PATCH 1/3] mfd: mc13xxx-core: add MODULE_DEVICE_TABLE Axel Lin
2011-02-28  6:33 ` [PATCH 2/3] mfd: pcf50633-core: " Axel Lin
2011-02-28  8:45   ` Harald Welte
2011-02-28  6:34 ` Axel Lin [this message]
2011-02-28 15:29   ` [PATCH 3/3] mfd: vx855: " Harald Welte
2011-02-28  7:49 ` [PATCH 1/3] mfd: mc13xxx-core: " Uwe Kleine-König
2011-03-02 10:10 ` Samuel Ortiz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1298874867.5562.7.camel@mola \
    --to=axel.lin@gmail.com \
    --cc=HaraldWelte@viatech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.