diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata.c | 2 | ||||
-rw-r--r-- | drivers/ata/mtk_ahci.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_mv.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/libata.c b/drivers/ata/libata.c index d41200f6c2..47e2c5c1cc 100644 --- a/drivers/ata/libata.c +++ b/drivers/ata/libata.c @@ -5,6 +5,8 @@ * port from the libata of linux kernel */ +#include <common.h> +#include <compiler.h> #include <libata.h> u64 ata_id_n_sectors(u16 *id) diff --git a/drivers/ata/mtk_ahci.c b/drivers/ata/mtk_ahci.c index 46b7677783..554175bc00 100644 --- a/drivers/ata/mtk_ahci.c +++ b/drivers/ata/mtk_ahci.c @@ -10,6 +10,7 @@ #include <common.h> #include <ahci.h> +#include <asm/global_data.h> #include <asm/io.h> #include <dm.h> #include <dm/of_access.h> diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index b78e311fc3..1012cb5374 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c @@ -38,6 +38,7 @@ #include <dm.h> #include <log.h> #include <asm/cache.h> +#include <asm/global_data.h> #include <dm/device-internal.h> #include <dm/lists.h> #include <fis.h> |