diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
commit | b9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch) | |
tree | 42d07b0c7246ae2536a702e7c5de9e2732341116 /drivers/ide/ali14xx.c | |
parent | 7406b0a326f2d70ade2671c37d1beef62249db97 (diff) |
Merge with 2.3.99-pre6.
Diffstat (limited to 'drivers/ide/ali14xx.c')
-rw-r--r-- | drivers/ide/ali14xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ali14xx.c b/drivers/ide/ali14xx.c index ff87917c5..d3bf7b801 100644 --- a/drivers/ide/ali14xx.c +++ b/drivers/ide/ali14xx.c @@ -48,6 +48,7 @@ #include <linux/blkdev.h> #include <linux/hdreg.h> #include <linux/ide.h> +#include <linux/init.h> #include <asm/io.h> @@ -118,7 +119,7 @@ static void ali14xx_tune_drive (ide_drive_t *drive, byte pio) byte param1, param2, param3, param4; unsigned long flags; ide_pio_data_t d; - int bus_speed = ide_system_bus_speed(); + int bus_speed = system_bus_clock(); pio = ide_get_best_pio_mode(drive, pio, ALI_MAX_PIO, &d); |