Skip to content

Commit ef51d3f

Browse files
michelecurtiWolfram Sang
authored andcommitted
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 <michele.curti@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 21e9efd commit ef51d3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/i2c/algos/i2c-algo-bit.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ const struct i2c_algorithm i2c_bit_algo = {
617617
};
618618
EXPORT_SYMBOL(i2c_bit_algo);
619619

620-
const struct i2c_adapter_quirks i2c_bit_quirk_no_clk_stretch = {
620+
static const struct i2c_adapter_quirks i2c_bit_quirk_no_clk_stretch = {
621621
.flags = I2C_AQ_NO_CLK_STRETCH,
622622
};
623623

0 commit comments

Comments
 (0)