diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 4ca511156a11..f338fe96ff6d 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -232,21 +232,6 @@ static int ide_system_bus_speed(void) | |||
232 | return pci_dev_present(pci_default) ? 33 : 50; | 232 | return pci_dev_present(pci_default) ? 33 : 50; |
233 | } | 233 | } |
234 | 234 | ||
235 | ide_hwif_t *ide_find_port(void) | ||
236 | { | ||
237 | ide_hwif_t *hwif; | ||
238 | int i; | ||
239 | |||
240 | for (i = 0; i < MAX_HWIFS; i++) { | ||
241 | hwif = &ide_hwifs[i]; | ||
242 | if (hwif->chipset == ide_unknown) | ||
243 | return hwif; | ||
244 | } | ||
245 | |||
246 | return NULL; | ||
247 | } | ||
248 | EXPORT_SYMBOL_GPL(ide_find_port); | ||
249 | |||
250 | static struct resource* hwif_request_region(ide_hwif_t *hwif, | 235 | static struct resource* hwif_request_region(ide_hwif_t *hwif, |
251 | unsigned long addr, int num) | 236 | unsigned long addr, int num) |
252 | { | 237 | { |