010-ahci-mediatek-fix-missing-dev_err-definition.patch 523 B

12345678910111213141516171819
  1. From 7089c413216f1c0e374d71187030fe41ae4b3071 Mon Sep 17 00:00:00 2001
  2. From: Frank Wunderlich <[email protected]>
  3. Date: Tue, 3 Nov 2020 19:45:30 +0100
  4. Subject: [PATCH] ahci: mediatek: fix missing dev_err definition
  5. ---
  6. drivers/ata/mtk_ahci.c | 1 +
  7. 1 file changed, 1 insertion(+)
  8. --- a/drivers/ata/mtk_ahci.c
  9. +++ b/drivers/ata/mtk_ahci.c
  10. @@ -21,6 +21,7 @@
  11. #include <sata.h>
  12. #include <scsi.h>
  13. #include <syscon.h>
  14. +#include <dm/device_compat.h>
  15. #define SYS_CFG 0x14
  16. #define SYS_CFG_SATA_MSK GENMASK(31, 30)