From: Fabio Massimo Di Nitto Date: Wed, 18 Jul 2007 21:35:23 +0000 (-0700) Subject: [SPARC64]: Fix MODULE_DEVICE_TABLE() specification in VDC and VNET. X-Git-Tag: v2.6.23-rc1~230^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=da68e0814a83649f7063c33562f535b60396b566 [SPARC64]: Fix MODULE_DEVICE_TABLE() specification in VDC and VNET. Signed-off-by: David S. Miller --- diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 2288b55d916f..4ee3920b05cc 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c @@ -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, diff --git a/drivers/net/sunvnet.c b/drivers/net/sunvnet.c index b801e3b3a11a..ef0066bab2cf 100644 --- a/drivers/net/sunvnet.c +++ b/drivers/net/sunvnet.c @@ -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,