diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:40 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:40 -0400 |
commit | 63b51c6d1d63276fd320615c042f1ff5d94ebab8 (patch) | |
tree | c6e1eac478f7a87b97d3b984dc0b58ee1946db06 /include/linux/ide.h | |
parent | 256c5f8eef7b9a8c8a85c15c58cda9df455f947e (diff) |
ide: make ide_hwifs[] static
Move ide_hwifs[] from ide.c to ide-probe.c and make it static.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 535c439fd8f0..15d5668198a6 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -801,18 +801,6 @@ struct ide_driver_s { | |||
801 | 801 | ||
802 | int generic_ide_ioctl(ide_drive_t *, struct file *, struct block_device *, unsigned, unsigned long); | 802 | int generic_ide_ioctl(ide_drive_t *, struct file *, struct block_device *, unsigned, unsigned long); |
803 | 803 | ||
804 | /* | ||
805 | * ide_hwifs[] is the master data structure used to keep track | ||
806 | * of just about everything in ide.c. Whenever possible, routines | ||
807 | * should be using pointers to a drive (ide_drive_t *) or | ||
808 | * pointers to a hwif (ide_hwif_t *), rather than indexing this | ||
809 | * structure directly (the allocation/layout may change!). | ||
810 | * | ||
811 | */ | ||
812 | #ifndef _IDE_C | ||
813 | extern ide_hwif_t ide_hwifs[]; /* master data repository */ | ||
814 | #endif | ||
815 | |||
816 | extern int ide_vlb_clk; | 804 | extern int ide_vlb_clk; |
817 | extern int ide_pci_clk; | 805 | extern int ide_pci_clk; |
818 | 806 | ||