From 97955a714b7adfcca0282991e9b43d3a6a7b16ba Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 17 Feb 2004 01:31:50 +0000 Subject: fixed compiling errors git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4310 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/drivers/ata.c') diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index d3c60a923b..14116a3a8f 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -110,6 +110,7 @@ static unsigned short identify_info[SECTOR_SIZE]; static int ata_power_on(void); static int perform_soft_reset(void); static int set_multiple_mode(int sectors); +static int set_features(void); static int wait_for_bsy(void) __attribute__ ((section (".icode"))); static int wait_for_bsy(void) @@ -753,6 +754,8 @@ int ata_soft_reset(void) static int ata_power_on(void) { + int rc; + ide_power_enable(true); if( ata_hard_reset() ) return -1; -- cgit v1.2.3