diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-01 23:09:16 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 23:09:16 +0100 |
commit | 2eae6ebbf99a083687466c010e3129fede9cdb4b (patch) | |
tree | 94b6fcdc86370351322ef91ef2244139398b4999 /include | |
parent | a4b5a4d91d6555df56489094cd5846cd03fc9239 (diff) | |
download | op-kernel-dev-2eae6ebbf99a083687466c010e3129fede9cdb4b.zip op-kernel-dev-2eae6ebbf99a083687466c010e3129fede9cdb4b.tar.gz |
ide: small ide-scan-pci.c cleanup
- ide_scan_pcibus() can become static
- instead of ide_scan_pci() we can use ide_scan_pcibus() directly
in module_init()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 27cb39d..c4d58b0 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -1017,7 +1017,6 @@ void ide_init_disk(struct gendisk *, ide_drive_t *); #ifdef CONFIG_IDEPCI_PCIBUS_ORDER extern int ide_scan_direction; -int __init ide_scan_pcibus(void); extern int __ide_pci_register_driver(struct pci_driver *driver, struct module *owner, const char *mod_name); #define ide_pci_register_driver(d) __ide_pci_register_driver(d, THIS_MODULE, KBUILD_MODNAME) #else |