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/char/viotape.c | |
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/char/viotape.c')
-rw-r--r-- | drivers/char/viotape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 4764b4f9555d..0aff45fac2e6 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c | |||
@@ -991,7 +991,7 @@ static int viotape_remove(struct vio_dev *vdev) | |||
991 | */ | 991 | */ |
992 | static struct vio_device_id viotape_device_table[] __devinitdata = { | 992 | static struct vio_device_id viotape_device_table[] __devinitdata = { |
993 | { "viotape", "" }, | 993 | { "viotape", "" }, |
994 | { 0, } | 994 | { "", "" } |
995 | }; | 995 | }; |
996 | 996 | ||
997 | MODULE_DEVICE_TABLE(vio, viotape_device_table); | 997 | MODULE_DEVICE_TABLE(vio, viotape_device_table); |