aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/hopper_cards.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2010-02-11 04:11:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:48 -0200
commit116d588ea21cf0278a4de1e3272e9c3220a647e7 (patch)
tree7a3a420e1731574d08f7256f694defd72bd36c03 /drivers/media/dvb/mantis/hopper_cards.c
parent[media] i2c: Remove obsolete cleanup for clientdata (diff)
downloadlinux-dev-116d588ea21cf0278a4de1e3272e9c3220a647e7.tar.xz
linux-dev-116d588ea21cf0278a4de1e3272e9c3220a647e7.zip
[media] Mantis, hopper: use MODULE_DEVICE_TABLE
use the macro to make modules auto-loadable Thanks to Ozan Çağlayan <ozan@pardus.org.tr> for pointing it out Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/hopper_cards.c')
-rw-r--r--drivers/media/dvb/mantis/hopper_cards.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/hopper_cards.c b/drivers/media/dvb/mantis/hopper_cards.c
index 09e9fc785189..70e73afefb3d 100644
--- a/drivers/media/dvb/mantis/hopper_cards.c
+++ b/drivers/media/dvb/mantis/hopper_cards.c
@@ -251,6 +251,8 @@ static struct pci_device_id hopper_pci_table[] = {
{ }
};
+MODULE_DEVICE_TABLE(pci, hopper_pci_table);
+
static struct pci_driver hopper_pci_driver = {
.name = DRIVER_NAME,
.id_table = hopper_pci_table,