mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 04:37:32 -04:00
iommu/apple-dart: correct CONFIG_PCIE_APPLE macro name in comment
A comment in drivers/iommu/apple-dart.c incorrectly refers to CONFIG_PCI_APPLE instead of CONFIG_PCIE_APPLE. Correct it. Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Reviewed-by: Sven Peter <sven@kernel.org> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
committed by
Joerg Roedel
parent
5d6919055d
commit
cff81c4af4
@@ -976,7 +976,7 @@ static int apple_dart_def_domain_type(struct device *dev)
|
||||
}
|
||||
|
||||
#ifndef CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR
|
||||
/* Keep things compiling when CONFIG_PCI_APPLE isn't selected */
|
||||
/* Keep things compiling when CONFIG_PCIE_APPLE isn't selected */
|
||||
#define CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR 0
|
||||
#endif
|
||||
#define DOORBELL_ADDR (CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR & PAGE_MASK)
|
||||
|
||||
Reference in New Issue
Block a user