]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] PCI: arch/i386/pci/direct.c can use __init, not __devinit
authorMatthew Wilcox <willy@debian.org>
Thu, 3 Jul 2003 08:50:59 +0000 (01:50 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 3 Jul 2003 08:50:59 +0000 (01:50 -0700)
pci_sanity_check() is only called from functions marked __init, so it
can be __init too.

arch/i386/pci/direct.c

index 3a8be667ddfd7df01460917b0052b7ab4c526c6c..b99be74dc91bc04735965de5417645f9b2048dc9 100644 (file)
@@ -177,7 +177,7 @@ static struct pci_raw_ops pci_direct_conf2 = {
  * This should be close to trivial, but it isn't, because there are buggy
  * chipsets (yes, you guessed it, by Intel and Compaq) that have no class ID.
  */
-static int __devinit pci_sanity_check(struct pci_raw_ops *o)
+static int __init pci_sanity_check(struct pci_raw_ops *o)
 {
        u32 x = 0;
        int devfn;