staging: bcm2835-audio: Fixed initialization of global to "false"
authorAbhijit Naik <abhijitnaik27@gmail.com>
Fri, 10 Feb 2017 11:39:05 +0000 (17:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2017 14:06:44 +0000 (15:06 +0100)
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>
drivers/staging/bcm2835-audio/bcm2835-vchiq.c

index 6578246b0f08888b3633df370b782bde612e88be..d1a187a1413f18de9009642cf56b6e69a46739c6 100644 (file)
@@ -65,7 +65,7 @@ struct bcm2835_audio_instance {
        short peer_version;
 };
 
-bool force_bulk = false;
+static bool force_bulk;
 
 /* ---- Private Variables ---------------------------------------------------- */