diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-06 21:52:34 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-07-28 11:22:17 +0100 |
commit | a459d9e107887a1fef32d5c6d0951241876812d9 (patch) | |
tree | 3449b7e6f41889128a2385f844a4b66778f972c3 /drivers/pci/controller/pci-host-common.c | |
parent | d6af2ed29c7c1c311b96dac989dcb991e90ee195 (diff) |
PCI: hv: Make some functions static
sparse report build warning as follows:
drivers/pci/controller/pci-hyperv.c:941:5: warning:
symbol 'hv_read_config_block' was not declared. Should it be static?
drivers/pci/controller/pci-hyperv.c:1021:5: warning:
symbol 'hv_write_config_block' was not declared. Should it be static?
drivers/pci/controller/pci-hyperv.c:1090:5: warning:
symbol 'hv_register_block_invalidate' was not declared. Should it be static?
Those functions are not used outside of this file, so mark them static.
Link: https://lore.kernel.org/r/20200706135234.80758-1-weiyongjun1@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions