Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Michele Curti and committed by
Wolfram Sang
ef51d3ff 21e9efd9

+1 -1
+1 -1
drivers/i2c/algos/i2c-algo-bit.c
··· 617 617 }; 618 618 EXPORT_SYMBOL(i2c_bit_algo); 619 619 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 = { 621 621 .flags = I2C_AQ_NO_CLK_STRETCH, 622 622 }; 623 623