Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1389529 > unrolled thread
| Started by | Michele Curti <michele.curti@gmail.com> |
|---|---|
| First post | 2016-04-27 21:40 +0200 |
| Last post | 2016-05-11 17:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static Michele Curti <michele.curti@gmail.com> - 2016-04-27 21:40 +0200
Re: [PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static Wolfram Sang <wsa@the-dreams.de> - 2016-05-11 17:20 +0200
| From | Michele Curti <michele.curti@gmail.com> |
|---|---|
| Date | 2016-04-27 21:40 +0200 |
| Subject | [PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static |
| Message-ID | <rsDtw-6Pk-9@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2016-05-11 17:20 +0200 |
| Subject | Re: [PATCH] i2c-algo-bit: declare i2c_bit_quirk_no_clk_stretch as static |
| Message-ID | <rxE5B-2n7-25@gated-at.bofh.it> |
| In reply to | #1389529 |
[Multipart message — attachments visible in raw view] — view raw
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!
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web