summaryrefslogtreecommitdiff
path: root/include/sata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sata.h')
-rw-r--r--include/sata.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sata.h b/include/sata.h
index d18cc9aa875..d89f7a8a298 100644
--- a/include/sata.h
+++ b/include/sata.h
@@ -2,7 +2,7 @@
#define __SATA_H__
#include <part.h>
-#if !defined(CONFIG_DM_SCSI)
+#if !defined(CONFIG_DM_SCSI) && !defined(CONFIG_AHCI)
int init_sata(int dev);
int reset_sata(int dev);
int scan_sata(int dev);
@@ -18,4 +18,7 @@ int sata_port_status(int dev, int port);
extern struct blk_desc sata_dev_desc[];
#endif
+int sata_probe(int devnum);
+int sata_remove(int devnum);
+
#endif