Commit 59768879 authored by Yang Yingliang's avatar Yang Yingliang Committed by Wolfram Sang

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: cacd9643 ("i2c: qcom-geni: add support for I2C Master Hub variant")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarBjorn Andersson <andersson@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent f2e1fa99
...@@ -1025,7 +1025,7 @@ static const struct dev_pm_ops geni_i2c_pm_ops = { ...@@ -1025,7 +1025,7 @@ static const struct dev_pm_ops geni_i2c_pm_ops = {
NULL) NULL)
}; };
const struct geni_i2c_desc i2c_master_hub = { static const struct geni_i2c_desc i2c_master_hub = {
.has_core_clk = true, .has_core_clk = true,
.icc_ddr = NULL, .icc_ddr = NULL,
.no_dma_support = true, .no_dma_support = true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment