summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-12-28 10:34:02 +0100
committerWolfram Sang <wsa@kernel.org>2023-01-09 16:21:28 +0100
commit597688792c4d9939e1900f5840ca18804e9d4290 (patch)
tree8d633247804a492af7dd82061c4ee2b47ccec36b /drivers/i2c/busses
parenti2c: designware: fix i2c_dw_clk_rate() return size to be u32 (diff)
downloadlinux-597688792c4d9939e1900f5840ca18804e9d4290.tar.xz
linux-597688792c4d9939e1900f5840ca18804e9d4290.zip
i2c: qcom-geni: change i2c_master_hub to static
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> Reviewed-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r--drivers/i2c/busses/i2c-qcom-geni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-qcom-geni.c b/drivers/i2c/busses/i2c-qcom-geni.c
index fd70794bfcee..a378f679b499 100644
--- a/drivers/i2c/busses/i2c-qcom-geni.c
+++ b/drivers/i2c/busses/i2c-qcom-geni.c
@@ -1025,7 +1025,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,