Commit c071b6f5 authored by Jon Frisch's avatar Jon Frisch Committed by Greg Kroah-Hartman
Browse files

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: default avatarJon Frisch <jon.frisch@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reported-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 820b11b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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