diff options
Diffstat (limited to 'drivers/char/viotape.c')
-rw-r--r-- | drivers/char/viotape.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index a5e104f428f8..867cc4e418c7 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * | 29 | * |
30 | * All tape operations are performed by sending messages back and forth to | 30 | * All tape operations are performed by sending messages back and forth to |
31 | * the OS/400 partition. The format of the messages is defined in | 31 | * the OS/400 partition. The format of the messages is defined in |
32 | * iSeries/vio.h | 32 | * iseries/vio.h |
33 | */ | 33 | */ |
34 | #include <linux/config.h> | 34 | #include <linux/config.h> |
35 | #include <linux/version.h> | 35 | #include <linux/version.h> |
@@ -54,10 +54,10 @@ | |||
54 | #include <asm/ioctls.h> | 54 | #include <asm/ioctls.h> |
55 | 55 | ||
56 | #include <asm/vio.h> | 56 | #include <asm/vio.h> |
57 | #include <asm/iSeries/vio.h> | 57 | #include <asm/iseries/vio.h> |
58 | #include <asm/iSeries/HvLpEvent.h> | 58 | #include <asm/iseries/hv_lp_event.h> |
59 | #include <asm/iSeries/HvCallEvent.h> | 59 | #include <asm/iseries/hv_call_event.h> |
60 | #include <asm/iSeries/HvLpConfig.h> | 60 | #include <asm/iseries/hv_lp_config.h> |
61 | 61 | ||
62 | #define VIOTAPE_VERSION "1.2" | 62 | #define VIOTAPE_VERSION "1.2" |
63 | #define VIOTAPE_MAXREQ 1 | 63 | #define VIOTAPE_MAXREQ 1 |
@@ -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 | ||