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

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
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
* Module parameters * Module parameters
*/ */
static int visorchipset_major; static int visorchipset_major;
static unsigned long controlvm_payload_bytes_buffered;
static int static int
visorchipset_open(struct inode *inode, struct file *file) visorchipset_open(struct inode *inode, struct file *file)
...@@ -106,6 +105,7 @@ struct visor_controlvm_payload_info { ...@@ -106,6 +105,7 @@ struct visor_controlvm_payload_info {
}; };
static struct visor_controlvm_payload_info 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 * The following globals are used to handle the scenario where we are unable to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment