From: Michele Curti Date: Wed, 27 Apr 2016 19:37:51 +0000 (+0200) Subject: i2c: algo-bit: declare i2c_bit_quirk_no_clk_stretch as static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ef51d3ff0da445a2de8f836f0e81881465a18200;p=linux-beck.git i2c: algo-bit: declare i2c_bit_quirk_no_clk_stretch as static i2c_bit_quirk_no_clk_stretch is used in i2c-algo-bit.c only, so declare it as static. Signed-off-by: Michele Curti Signed-off-by: Wolfram Sang --- diff --git a/drivers/i2c/algos/i2c-algo-bit.c b/drivers/i2c/algos/i2c-algo-bit.c index 9d233bbde5e1..a8e89df665b9 100644 --- a/drivers/i2c/algos/i2c-algo-bit.c +++ b/drivers/i2c/algos/i2c-algo-bit.c @@ -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, };