aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/viotape.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-11-04 21:39:31 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-11-04 21:39:31 -0500
commitc2cc87ca9561ddfe744d446789cc10f507e87db9 (patch)
treed505fc0110eb1a3d8750ba2f67648c131f0d9aca /drivers/char/viotape.c
parentce1eeb95fc4eb25109c00bea3e83a87eeff6b07d (diff)
parent7015faa7df829876a0f931cd18aa6d7c24a1b581 (diff)
Merge branch 'master'
Diffstat (limited to 'drivers/char/viotape.c')
-rw-r--r--drivers/char/viotape.c19
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
997MODULE_DEVICE_TABLE(vio, viotape_device_table); 996MODULE_DEVICE_TABLE(vio, viotape_device_table);
997
998static struct vio_driver viotape_driver = { 998static 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