diff options
author | Abhijit Naik <abhijitnaik27@gmail.com> | 2017-02-10 17:09:05 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-10 15:06:44 +0100 |
commit | 626eea7df90e062e4fb89a427e7a47d600626989 (patch) | |
tree | 2fa6a54c17016b006cc2661ada8a7d4cab71cbfa /drivers/staging/bcm2835-audio/bcm2835-vchiq.c | |
parent | 55dd5a39a982dad9a39fe48a1c0066f46a8a0ba0 (diff) |
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.c | 2 |
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 6578246b0f08..d1a187a1413f 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 ---------------------------------------------------- */ |