提交 ef51d3ff 编写于 作者: M Michele Curti 提交者: Wolfram Sang

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: NMichele Curti <michele.curti@gmail.com>
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
上级 21e9efd9
...@@ -617,7 +617,7 @@ const struct i2c_algorithm i2c_bit_algo = { ...@@ -617,7 +617,7 @@ const struct i2c_algorithm i2c_bit_algo = {
}; };
EXPORT_SYMBOL(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, .flags = I2C_AQ_NO_CLK_STRETCH,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册