summaryrefslogtreecommitdiffstats
path: root/drivers/soc/hisilicon/kunpeng_hccs.h
diff options
context:
space:
mode:
authorHuisong Li <lihuisong@huawei.com>2023-08-16 09:37:06 +0200
committerArnd Bergmann <arnd@arndb.de>2023-08-22 03:05:11 +0200
commit7d6612834d176a1343aea4b2f01efa94f1cea68f (patch)
treeaabceea7fc44ffe0f195960e80b419066d389e04 /drivers/soc/hisilicon/kunpeng_hccs.h
parentsoc: loongson2_pm: add power management support (diff)
downloadlinux-7d6612834d176a1343aea4b2f01efa94f1cea68f.tar.xz
linux-7d6612834d176a1343aea4b2f01efa94f1cea68f.zip
soc: kunpeng_hccs: fix some sparse warnings about incorrect type
This patch fixes some sparse warnings about incorrect type. The address about PCC communication space should use '__iomem' tag. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308151142.dH5Muhva-lkp@intel.com/ Fixes: 886bdf9c883b ("soc: hisilicon: Support HCCS driver on Kunpeng SoC") Signed-off-by: Huisong Li <lihuisong@huawei.com> Link: https://lore.kernel.org/r/20230816073706.33297-1-lihuisong@huawei.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--drivers/soc/hisilicon/kunpeng_hccs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/hisilicon/kunpeng_hccs.h b/drivers/soc/hisilicon/kunpeng_hccs.h
index 9d71fb78443f..6012d2776028 100644
--- a/drivers/soc/hisilicon/kunpeng_hccs.h
+++ b/drivers/soc/hisilicon/kunpeng_hccs.h
@@ -50,7 +50,7 @@ struct hccs_mbox_client_info {
struct mbox_chan *mbox_chan;
struct pcc_mbox_chan *pcc_chan;
u64 deadline_us;
- void *pcc_comm_addr;
+ void __iomem *pcc_comm_addr;
};
struct hccs_dev {