]> git.hungrycats.org Git - linux/commit
um: virt-pci: fix missing declaration warning
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Wed, 23 Aug 2023 10:40:44 +0000 (12:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:36 +0000 (09:48 +0200)
commitbb31371c1dcd043a3b9890562b2f6c04e4f36d37
treefab335d293d44c7f9ca1be42cced2eb54d329205
parent9fc162c59edc841032a3553eb2334320abab0784
um: virt-pci: fix missing declaration warning

[ Upstream commit 974b808d85abbc03c3914af63d60d5816aabf2ca ]

Fix this warning which appears with W=1 and without CONFIG_OF:

 warning: no previous declaration for 'pcibios_get_phb_of_node'

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308230949.PphIIlhq-lkp@intel.com/
Fixes: 314a1408b79a ("um: virt-pci: implement pcibios_get_phb_of_node()")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/drivers/virt-pci.c