]> err.no Git - linux-2.6/commitdiff
[SPARC64]: Fix MODULE_DEVICE_TABLE() specification in VDC and VNET.
authorFabio Massimo Di Nitto <fabbione@ubuntu.com>
Wed, 18 Jul 2007 21:35:23 +0000 (14:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 20 Jul 2007 04:26:57 +0000 (21:26 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/sunvdc.c
drivers/net/sunvnet.c

index 2288b55d916f9e12fc3ea2332acf40c3dfe67dff..4ee3920b05ccc8c49b9e3b97d02c79d37739d18d 100644 (file)
@@ -849,7 +849,7 @@ static struct vio_device_id vdc_port_match[] = {
        },
        {},
 };
-MODULE_DEVICE_TABLE(vio, vdc_match);
+MODULE_DEVICE_TABLE(vio, vdc_port_match);
 
 static struct vio_driver vdc_port_driver = {
        .id_table       = vdc_port_match,
index b801e3b3a11a002907d602560e3abfec4cd5234a..ef0066bab2cf77af11f99a2306e51a9a521402ca 100644 (file)
@@ -1136,7 +1136,7 @@ static struct vio_device_id vnet_port_match[] = {
        },
        {},
 };
-MODULE_DEVICE_TABLE(vio, vnet_match);
+MODULE_DEVICE_TABLE(vio, vnet_port_match);
 
 static struct vio_driver vnet_port_driver = {
        .id_table       = vnet_port_match,