diff options
Diffstat (limited to 'include/sata.h')
-rw-r--r-- | include/sata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sata.h b/include/sata.h index b35359aa5a1..d18cc9aa875 100644 --- a/include/sata.h +++ b/include/sata.h @@ -2,6 +2,7 @@ #define __SATA_H__ #include <part.h> +#if !defined(CONFIG_DM_SCSI) int init_sata(int dev); int reset_sata(int dev); int scan_sata(int dev); @@ -15,5 +16,6 @@ int __sata_stop(void); int sata_port_status(int dev, int port); extern struct blk_desc sata_dev_desc[]; +#endif #endif |