diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-08-17 02:42:59 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-08-29 23:31:56 -0400 |
commit | fb120da678c517f72d4b39932062c2191827b331 (patch) | |
tree | 0ae6b9d42e0c66293c3cc567f2f8279ca2e89cde /drivers/net | |
parent | 71d276d751ff5ddba28312aecefb174b20a5b970 (diff) |
[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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ibmveth.c | 2 | ||||
-rw-r--r-- | drivers/net/iseries_veth.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index c39b0609742a..32d5fabd4b10 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c | |||
@@ -1144,7 +1144,7 @@ static void ibmveth_proc_unregister_driver(void) | |||
1144 | 1144 | ||
1145 | static struct vio_device_id ibmveth_device_table[] __devinitdata= { | 1145 | static struct vio_device_id ibmveth_device_table[] __devinitdata= { |
1146 | { "network", "IBM,l-lan"}, | 1146 | { "network", "IBM,l-lan"}, |
1147 | { 0,} | 1147 | { "", "" } |
1148 | }; | 1148 | }; |
1149 | 1149 | ||
1150 | MODULE_DEVICE_TABLE(vio, ibmveth_device_table); | 1150 | MODULE_DEVICE_TABLE(vio, ibmveth_device_table); |
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 55af32e9bf08..183ba97785b0 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -1370,7 +1370,7 @@ static int veth_probe(struct vio_dev *vdev, const struct vio_device_id *id) | |||
1370 | */ | 1370 | */ |
1371 | static struct vio_device_id veth_device_table[] __devinitdata = { | 1371 | static struct vio_device_id veth_device_table[] __devinitdata = { |
1372 | { "vlan", "" }, | 1372 | { "vlan", "" }, |
1373 | { NULL, NULL } | 1373 | { "", "" } |
1374 | }; | 1374 | }; |
1375 | MODULE_DEVICE_TABLE(vio, veth_device_table); | 1375 | MODULE_DEVICE_TABLE(vio, veth_device_table); |
1376 | 1376 | ||