summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys/visorbus/visorchannel.c
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2015-05-13 13:22:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 13:28:55 -0700
commit1fb3016eab6950b547e6ae794830c51165485b13 (patch)
tree5557b68e119d1acc1cb27693d8cec2374fb8aecd /drivers/staging/unisys/visorbus/visorchannel.c
parent795731627c74f2bcf6b289bcc5c06d7d822f11a5 (diff)
staging: unisys: Prep for removing 'info' structs
The visorbus driver has three _info structs lying around (device, bus, channel) that store subsets of info from the bigger structs. Having these structs around make resource handling very difficult and more complicated than it needs to be. Use the device infrastructure and instead pass 'struct visor_device' all over the place. In order to do that 'struct visor_device' needs to get smarter. This patch adds the pieces to prep for it. The new elements will be used in later patches. Signed-off-by: Don Zickus <dzickus@redhat.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchannel.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchannel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c
index 2d3e4d6defea..a9c3ae160ce5 100644
--- a/drivers/staging/unisys/visorbus/visorchannel.c
+++ b/drivers/staging/unisys/visorbus/visorchannel.c
@@ -23,6 +23,7 @@
#include "version.h"
#include "visorbus.h"
#include <linux/uuid.h>
+#include "controlvmchannel.h"
#define MYDRVNAME "visorchannel"
@@ -44,6 +45,9 @@ struct visorchannel {
struct signal_queue_header event_queue;
struct signal_queue_header ack_queue;
} safe_uis_queue;
+ struct irq_info intr;
+ uuid_le type;
+ uuid_le inst;
};
/* Creates the struct visorchannel abstraction for a data area in memory,