All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static
@ 2016-04-27 19:37 Michele Curti
  2016-05-11 15:16 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Michele Curti @ 2016-04-27 19:37 UTC (permalink / raw)
  To: wsa; +Cc: linux-i2c, linux-kernel, Michele Curti

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>
---
 drivers/i2c/algos/i2c-algo-bit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/algos/i2c-algo-bit.c b/drivers/i2c/algos/i2c-algo-bit.c
index 9d233bb..a8e89df 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,
 };
 
-- 
2.8.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static
  2016-04-27 19:37 [PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static Michele Curti
@ 2016-05-11 15:16 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2016-05-11 15:16 UTC (permalink / raw)
  To: Michele Curti; +Cc: linux-i2c, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

On Wed, Apr 27, 2016 at 09:37:51PM +0200, Michele Curti wrote:
> 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>

Applied to for-next, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-11 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-27 19:37 [PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static Michele Curti
2016-05-11 15:16 ` Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.