Skip to contentSkip to conversation

Fix typo in ppc32 build

PATCH New Benjamin Herrenschmidt 1 participant 1 message Feb 12, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in ppc32 build

Hi !

The patch adding the OF platform entries had a typo ;) I sent a revised patch but apparently you merged the old one. ppc64 is fine since the G5 patch contains the fix, ppc32 need this:

Cheers,
Ben.

===== arch/ppc/kernel/pci.c 1.37 vs edited =====

arch/ppc/kernel/pci.c +1 -1
@@ -1039,7 +1039,7 @@
 #endif /* CONFIG_PPC_OF */
 
 /* Add sysfs properties */
-void pcibios_add_platform_entries(struct pci_dev *dev)
+void pcibios_add_platform_entries(struct pci_dev *pdev)
 {
 #ifdef CONFIG_PPC_OF
 	device_create_file(&pdev->dev, &dev_attr_devspec);