linux-mips
[Top] [All Lists]

[PATCH] Mark pcibios_fixup_device_resources() as __devinit

To: linux-mips@linux-mips.org
Subject: [PATCH] Mark pcibios_fixup_device_resources() as __devinit
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 23 Feb 2007 01:13:17 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
pcibios_fixup_device_resources() is called by pcibios_fixup_bus()
which is marked as __devinit.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 77d8c50..f901140 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -243,7 +243,7 @@ int pcibios_enable_device(struct pci_dev
        return pcibios_plat_dev_init(dev);
 }
 
-static void __init pcibios_fixup_device_resources(struct pci_dev *dev,
+static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev,
        struct pci_bus *bus)
 {
        /* Update device resources.  */

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Mark pcibios_fixup_device_resources() as __devinit, Atsushi Nemoto <=