[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:
committed by
Paul Mackerras
parent
71d276d751
commit
fb120da678
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user