diff options
Diffstat (limited to 'drivers/ide/ide-scan-pci.c')
-rw-r--r-- | drivers/ide/ide-scan-pci.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/ide/ide-scan-pci.c b/drivers/ide/ide-scan-pci.c index 7ffa332d77ce..93d2e41be853 100644 --- a/drivers/ide/ide-scan-pci.c +++ b/drivers/ide/ide-scan-pci.c | |||
@@ -81,7 +81,7 @@ static int __init ide_scan_pcidev(struct pci_dev *dev) | |||
81 | * module ordering not traditionally ordered. | 81 | * module ordering not traditionally ordered. |
82 | */ | 82 | */ |
83 | 83 | ||
84 | int __init ide_scan_pcibus(void) | 84 | static int __init ide_scan_pcibus(void) |
85 | { | 85 | { |
86 | struct pci_dev *dev = NULL; | 86 | struct pci_dev *dev = NULL; |
87 | struct pci_driver *d; | 87 | struct pci_driver *d; |
@@ -113,9 +113,4 @@ int __init ide_scan_pcibus(void) | |||
113 | return 0; | 113 | return 0; |
114 | } | 114 | } |
115 | 115 | ||
116 | static int __init ide_scan_pci(void) | 116 | module_init(ide_scan_pcibus); |
117 | { | ||
118 | return ide_scan_pcibus(); | ||
119 | } | ||
120 | |||
121 | module_init(ide_scan_pci); | ||