Index: firmware/drivers/ata.c
===================================================================
--- firmware/drivers/ata.c	(revision 15135)
+++ firmware/drivers/ata.c	(working copy)
@@ -905,7 +905,7 @@
  * ATA -> Flash interface automatically sleeps almost immediately after the
  * last command.
  */
-#ifndef IPOD_NANO
+#if !defined(IPOD_NANO) && !defined(IPOD_MINI) && !defined(IPOD_MINI2G) 
     int ret;
     int retry_count;
     
