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/cdrom/viocd.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/cdrom/viocd.c')
-rw-r--r-- | drivers/cdrom/viocd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c index 38dd9ffbe8bc..0829db58462f 100644 --- a/drivers/cdrom/viocd.c +++ b/drivers/cdrom/viocd.c | |||
@@ -734,7 +734,7 @@ static int viocd_remove(struct vio_dev *vdev) | |||
734 | */ | 734 | */ |
735 | static struct vio_device_id viocd_device_table[] __devinitdata = { | 735 | static struct vio_device_id viocd_device_table[] __devinitdata = { |
736 | { "viocd", "" }, | 736 | { "viocd", "" }, |
737 | { 0, } | 737 | { "", "" } |
738 | }; | 738 | }; |
739 | 739 | ||
740 | MODULE_DEVICE_TABLE(vio, viocd_device_table); | 740 | MODULE_DEVICE_TABLE(vio, viocd_device_table); |