powerpc/pci: Fix comments about ppc_md.pcibios_fixup
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Fri, 13 Feb 2015 04:16:32 +0000 (15:16 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 16 Mar 2015 23:31:18 +0000 (10:31 +1100)
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>
arch/powerpc/include/asm/machdep.h

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