diff options
| author | Michele Curti <[email protected]> | 2016-04-27 19:37:51 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2016-05-11 15:16:30 +0000 |
| commit | ef51d3ff0da445a2de8f836f0e81881465a18200 (patch) | |
| tree | 249c830c8467177ef8f30786701d3c45f2125c04 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | i2c: tegra: disable clock before returning error (diff) | |
| download | kernel-ef51d3ff0da445a2de8f836f0e81881465a18200.tar.gz kernel-ef51d3ff0da445a2de8f836f0e81881465a18200.zip | |
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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
| -rw-r--r-- | drivers/i2c/algos/i2c-algo-bit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; |
