public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] i2c: qcom-geni: change i2c_master_hub to static
@ 2022-12-28  9:34 Yang Yingliang
  2022-12-29  3:45 ` Bjorn Andersson
  2023-01-09 15:21 ` Wolfram Sang
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Yingliang @ 2022-12-28  9:34 UTC (permalink / raw)
  To: linux-i2c, linux-arm-msm
  Cc: agross, andersson, konrad.dybcio, neil.armstrong, wsa,
	yangyingliang

i2c_master_hub is only used in i2c-qcom-geni.c now,
change it to static.

Fixes: cacd9643eca7 ("i2c: qcom-geni: add support for I2C Master Hub variant")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 drivers/i2c/busses/i2c-qcom-geni.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-qcom-geni.c b/drivers/i2c/busses/i2c-qcom-geni.c
index f292e4dab98f..fd22fcb07da2 100644
--- a/drivers/i2c/busses/i2c-qcom-geni.c
+++ b/drivers/i2c/busses/i2c-qcom-geni.c
@@ -1029,7 +1029,7 @@ static const struct dev_pm_ops geni_i2c_pm_ops = {
 									NULL)
 };
 
-const struct geni_i2c_desc i2c_master_hub = {
+static const struct geni_i2c_desc i2c_master_hub = {
 	.has_core_clk = true,
 	.icc_ddr = NULL,
 	.no_dma_support = true,
-- 
2.25.1


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

end of thread, other threads:[~2023-01-09 15:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-28  9:34 [PATCH -next] i2c: qcom-geni: change i2c_master_hub to static Yang Yingliang
2022-12-29  3:45 ` Bjorn Andersson
2023-01-09 15:21 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox