summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/synclink_cs.c
diff options
context:
space:
mode:
authorShailendra Verma <shailendra.capricorn@gmail.com>2015-05-26 01:01:52 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-01 06:38:21 +0900
commit208250dd4c3dd54963db85340cdc5e4c2acef5b5 (patch)
tree88018bed8978ae1e3c33979eeff778d1528e8dc5 /drivers/char/pcmcia/synclink_cs.c
parent4e4bd36f97b1492f19b3329ac74ed313da13de34 (diff)
downloadop-kernel-dev-208250dd4c3dd54963db85340cdc5e4c2acef5b5.zip
op-kernel-dev-208250dd4c3dd54963db85340cdc5e4c2acef5b5.tar.gz
char:pcmcia:synclink_cs - Do not initialise statics to 0.
Static variables are initialised to 0 by GCC. Fixes the following checkpatch error: ERROR: do not initialise statics to 0 or NULL FILE: drivers/char/pcmcia/synclink_cs.c:440: static bool break_on_load = 0; Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/pcmcia/synclink_cs.c')
-rw-r--r--drivers/char/pcmcia/synclink_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c
index 0ea9986..7680d52 100644
--- a/drivers/char/pcmcia/synclink_cs.c
+++ b/drivers/char/pcmcia/synclink_cs.c
@@ -437,7 +437,7 @@ static int mgslpc_device_count = 0;
* .text section address and breakpoint on module load.
* This is useful for use with gdb and add-symbol-file command.
*/
-static bool break_on_load=0;
+static bool break_on_load;
/*
* Driver major number, defaults to zero to get auto
OpenPOWER on IntegriCloud