i2c: algo-bit: declare i2c_bit_quirk_no_clk_stretch as static
authorMichele Curti <michele.curti@gmail.com>
Wed, 27 Apr 2016 19:37:51 +0000 (21:37 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 11 May 2016 15:16:30 +0000 (17:16 +0200)
i2c_bit_quirk_no_clk_stretch is used in i2c-algo-bit.c only, so
declare it as static.

Signed-off-by: Michele Curti <michele.curti@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/algos/i2c-algo-bit.c

index 9d233bbde5e193a0b0484a8388e8c0f50f707156..a8e89df665b904d77b86586853a3fb5f010f92e0 100644 (file)
@@ -617,7 +617,7 @@ const struct i2c_algorithm i2c_bit_algo = {
 };
 EXPORT_SYMBOL(i2c_bit_algo);
 
-const struct i2c_adapter_quirks i2c_bit_quirk_no_clk_stretch = {
+static const struct i2c_adapter_quirks i2c_bit_quirk_no_clk_stretch = {
        .flags = I2C_AQ_NO_CLK_STRETCH,
 };
 
This page took 0.025498 seconds and 5 git commands to generate.