myri10ge: add MODULE_DEVICE_TABLE
authorBrice Goglin <brice@myri.com>
Thu, 16 Apr 2009 02:29:22 +0000 (02:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Apr 2009 01:00:44 +0000 (18:00 -0700)
Add MODULE_DEVICE_TABLE so that modinfo reports pci device id aliases.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/myri10ge/myri10ge.c

index 77de964fe67694830db798d4b42c1db911b800ca..4a2ab4ebfb82127767f6526162d773c937493da3 100644 (file)
@@ -75,7 +75,7 @@
 #include "myri10ge_mcp.h"
 #include "myri10ge_mcp_gen_header.h"
 
-#define MYRI10GE_VERSION_STR "1.4.4-1.401"
+#define MYRI10GE_VERSION_STR "1.4.4-1.412"
 
 MODULE_DESCRIPTION("Myricom 10G driver (10GbE)");
 MODULE_AUTHOR("Maintainer: help@myri.com");
@@ -4036,6 +4036,8 @@ static struct pci_device_id myri10ge_pci_tbl[] = {
        {0},
 };
 
+MODULE_DEVICE_TABLE(pci, myri10ge_pci_tbl);
+
 static struct pci_driver myri10ge_driver = {
        .name = "myri10ge",
        .probe = myri10ge_probe,