summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
diff options
context:
space:
mode:
authorAbhijit Naik <abhijitnaik27@gmail.com>2017-02-10 17:09:05 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-10 15:06:44 +0100
commit626eea7df90e062e4fb89a427e7a47d600626989 (patch)
tree2fa6a54c17016b006cc2661ada8a7d4cab71cbfa /drivers/staging/bcm2835-audio/bcm2835-vchiq.c
parent55dd5a39a982dad9a39fe48a1c0066f46a8a0ba0 (diff)
downloadop-kernel-dev-626eea7df90e062e4fb89a427e7a47d600626989.zip
op-kernel-dev-626eea7df90e062e4fb89a427e7a47d600626989.tar.gz
staging: bcm2835-audio: Fixed initialization of global to "false"
bcm2835-vchiq.c: fixing ERROR: do not initialise globals to false Instead of explicitly initializing global variable force_bulk to "false", declared force_bulk as static variable. Signed-off-by: Abhijit Naik <abhijitnaik27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm2835-audio/bcm2835-vchiq.c')
-rw-r--r--drivers/staging/bcm2835-audio/bcm2835-vchiq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
index 6578246..d1a187a 100644
--- a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
+++ b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
@@ -65,7 +65,7 @@ struct bcm2835_audio_instance {
short peer_version;
};
-bool force_bulk = false;
+static bool force_bulk;
/* ---- Private Variables ---------------------------------------------------- */
OpenPOWER on IntegriCloud