diff options
author | Sui Jingfeng | 2023-05-31 18:27:44 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-07-19 16:21:36 +0200 |
commit | 7d3664d24f32413993badf7b66804c8b69bc7232 (patch) | |
tree | 844d435e9813d5a5931167ed68f9339dd5400d5b /include/target | |
parent | 019d4fd93a5ad51648c3cd1fcff41d214224b39a (diff) |
PCI: Add pci_clear_master() stub for non-CONFIG_PCI
[ Upstream commit 2aa5ac633259843f656eb6ecff4cf01e8e810c5e ]
Add a pci_clear_master() stub when CONFIG_PCI is not set so drivers that
support both PCI and platform devices don't need #ifdefs or extra Kconfig
symbols for the PCI parts.
[bhelgaas: commit log]
Fixes: 6a479079c072 ("PCI: Add pci_clear_master() as opposite of pci_set_master()")
Link: https://lore.kernel.org/r/20230531102744.2354313-1-suijingfeng@loongson.cn
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions