]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iommu/apple-dart: correct CONFIG_PCIE_APPLE macro name in comment
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Tue, 9 Jun 2026 19:56:04 +0000 (12:56 -0700)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 11 Jun 2026 13:42:23 +0000 (15:42 +0200)
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>
drivers/iommu/apple-dart.c

index 17bdadb6b5046805d7ab3f02a209980844a50c57..b160fb464c5fb271db3865c682d91eee917bb188 100644 (file)
@@ -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)