Skip to content

Commit

Permalink
i2c: algo-bit: declare i2c_bit_quirk_no_clk_stretch as static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
michelecurti authored and Wolfram Sang committed May 11, 2016
1 parent 21e9efd commit ef51d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/algos/i2c-algo-bit.c
Expand Up @@ -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,
};

Expand Down

0 comments on commit ef51d3f

Please sign in to comment.