diff options
Diffstat (limited to 'drivers/char/viotape.c')
-rw-r--r-- | drivers/char/viotape.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index a5e104f428f8..51abd3defc1c 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c | |||
@@ -993,13 +993,16 @@ static struct vio_device_id viotape_device_table[] __devinitdata = { | |||
993 | { "viotape", "" }, | 993 | { "viotape", "" }, |
994 | { "", "" } | 994 | { "", "" } |
995 | }; | 995 | }; |
996 | |||
997 | MODULE_DEVICE_TABLE(vio, viotape_device_table); | 996 | MODULE_DEVICE_TABLE(vio, viotape_device_table); |
997 | |||
998 | static struct vio_driver viotape_driver = { | 998 | static struct vio_driver viotape_driver = { |
999 | .name = "viotape", | ||
1000 | .id_table = viotape_device_table, | 999 | .id_table = viotape_device_table, |
1001 | .probe = viotape_probe, | 1000 | .probe = viotape_probe, |
1002 | .remove = viotape_remove | 1001 | .remove = viotape_remove, |
1002 | .driver = { | ||
1003 | .name = "viotape", | ||
1004 | .owner = THIS_MODULE, | ||
1005 | } | ||
1003 | }; | 1006 | }; |
1004 | 1007 | ||
1005 | 1008 | ||