[PATCH] Make MODULE_DEVICE_TABLE work for vio devices

Make MODULE_DEVICE_TABLE work for vio devices.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Stephen Rothwell
2005-08-17 16:42:59 +10:00
committed by Paul Mackerras
parent 71d276d751
commit fb120da678
12 changed files with 35 additions and 15 deletions

View File

@ -1370,7 +1370,7 @@ static int veth_probe(struct vio_dev *vdev, const struct vio_device_id *id)
*/
static struct vio_device_id veth_device_table[] __devinitdata = {
{ "vlan", "" },
{ NULL, NULL }
{ "", "" }
};
MODULE_DEVICE_TABLE(vio, veth_device_table);