From: Jon Frisch Date: Mon, 19 Sep 2016 21:09:19 +0000 (-0400) Subject: staging: unisys: visorbus: move controlvm_payload_bytes_buffered X-Git-Tag: v4.9.8~1233^2~362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c071b6f541b62f4d143cc4316e4b1167dcaea8fe;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: David Kershner Reported-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 84c2858..de2e92f 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