diff options
author | Dongjiu Geng <gengdongjiu@huawei.com> | 2021-03-23 14:29:33 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-06-28 06:14:24 +0300 |
commit | 6c81966107dc0caa5d2ebedbcebb5f10d865064d (patch) | |
tree | bdedb31ad67e91a46f22fc031e901cc58bbadc01 /drivers/clk/hisilicon/clk.h | |
parent | b87111da42f328c0e658e36e6782bb341ee742ea (diff) | |
download | linux-6c81966107dc0caa5d2ebedbcebb5f10d865064d.tar.xz |
clk: hisilicon: Add clock driver for hi3559A SoC
Add clock drivers for hi3559A SoC, this driver
controls the SoC registers to supply different
clocks to different IPs in the SoC.
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Link: https://lore.kernel.org/r/1616498973-47067-3-git-send-email-gengdongjiu1@gmail.com
[sboyd@kernel.org: Mark arrays static, add __iomem, drop unused array,
avoid kfree of devm memory]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/hisilicon/clk.h')
-rw-r--r-- | drivers/clk/hisilicon/clk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clk.h b/drivers/clk/hisilicon/clk.h index 61cbd90d1213..7a9b42e1b027 100644 --- a/drivers/clk/hisilicon/clk.h +++ b/drivers/clk/hisilicon/clk.h @@ -50,7 +50,7 @@ struct hisi_mux_clock { u8 shift; u8 width; u8 mux_flags; - u32 *table; + const u32 *table; const char *alias; }; |