ahci: mediatek: fix undefined reference of dev_err
[platform/kernel/u-boot.git] / drivers / ata / mtk_ahci.c
index 554175b..2c5227d 100644 (file)
@@ -21,6 +21,7 @@
 #include <sata.h>
 #include <scsi.h>
 #include <syscon.h>
+#include <dm/device_compat.h>
 
 #define SYS_CFG                        0x14
 #define SYS_CFG_SATA_MSK       GENMASK(31, 30)