summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorJon Frisch2016-09-19 23:09:19 +0200
committerGreg Kroah-Hartman2016-09-20 13:26:20 +0200
commitc071b6f541b62f4d143cc4316e4b1167dcaea8fe (patch)
treefd73af75913366092704e17b0a39ab41cf576b15 /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: unisys: visorbus: remove unused dump_vhba_bus (diff)
downloadkernel-qcow2-linux-c071b6f541b62f4d143cc4316e4b1167dcaea8fe.tar.gz
kernel-qcow2-linux-c071b6f541b62f4d143cc4316e4b1167dcaea8fe.tar.xz
kernel-qcow2-linux-c071b6f541b62f4d143cc4316e4b1167dcaea8fe.zip
staging: unisys: visorbus: move controlvm_payload_bytes_buffered
This patch moves the unsigned long controlvm_payload_bytes_buffered from the module parameters location to a more appropriate location below the controlvm_payload_info. Signed-off-by: Jon Frisch <jon.frisch@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 84c2858691ff..de2e92fbadb1 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -50,7 +50,6 @@
* Module parameters
*/
static int visorchipset_major;
-static unsigned long controlvm_payload_bytes_buffered;
static int
visorchipset_open(struct inode *inode, struct file *file)
@@ -106,6 +105,7 @@ struct visor_controlvm_payload_info {
};
static struct visor_controlvm_payload_info controlvm_payload_info;
+static unsigned long controlvm_payload_bytes_buffered;
/*
* The following globals are used to handle the scenario where we are unable to