Parcourir la source

powerpc/pci: Fix comments about ppc_md.pcibios_fixup

The patch fixes the comments about ppc_md.pcibios_fixup(), which
should be called after allocating resources.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Gavin Shan il y a 11 ans
Parent
commit
6ec7334304
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      arch/powerpc/include/asm/machdep.h

+ 1 - 1
arch/powerpc/include/asm/machdep.h

@@ -125,7 +125,7 @@ struct machdep_calls {
 	unsigned int	(*get_irq)(void);
 	unsigned int	(*get_irq)(void);
 
 
 	/* PCI stuff */
 	/* PCI stuff */
-	/* Called after scanning the bus, before allocating resources */
+	/* Called after allocating resources */
 	void		(*pcibios_fixup)(void);
 	void		(*pcibios_fixup)(void);
 	int		(*pci_probe_mode)(struct pci_bus *);
 	int		(*pci_probe_mode)(struct pci_bus *);
 	void		(*pci_irq_fixup)(struct pci_dev *dev);
 	void		(*pci_irq_fixup)(struct pci_dev *dev);