Consolidate bool type
[oweals/u-boot.git] / drivers / block / ata_piix.c
index dd411f12d67f9e1ba4c8dc90a0eb149947486e3f..1e33a66c45078acc66640346d17323babd2e2579 100644 (file)
@@ -34,9 +34,7 @@
 #include <part.h>
 #include <ide.h>
 #include <ata.h>
-
-extern block_dev_desc_t sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE];
-extern int sata_curr_device;
+#include <sata.h>
 
 #define DEBUG_SATA 0           /* For debug prints set DEBUG_SATA to 1 */