iommu/apple-dart: correct CONFIG_PCIE_APPLE macro name in comment
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/iommu/apple-dart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/apple-dart.c +1 -1
@@ -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)
Signature · 1 line
2.43.0
Quoted 8 lines · Ethan Nelson-Moore
A comment in
drivers/iommu/apple-dart.cincorrectly refers toCONFIG_PCI_APPLEinstead ofCONFIG_PCIE_APPLE. Correct it.Discovered while searching for CONFIG_* symbols referenced in code but not defined in any
Kconfigfile.Signed-off-by Ethan Nelson-Moore <[email protected]>---
Reviewed-by Sven Peter <[email protected]>
Thanks,
Sven
Quoted 2 lines · Ethan Nelson-Moore
drivers/iommu/apple-dart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.