u-boot/drivers/ata
Frank Wunderlich 93cac85d78 ahci: mediatek: fix undefined reference of dev_err
building with MTK_AHCI enabled results in implicit declaration and
undefined reference of dev_err followed by a segfault of gcc

drivers/ata/mtk_ahci.c: In function 'mtk_ahci_parse_property':
drivers/ata/mtk_ahci.c:65:4: warning:
implicit declaration of function 'dev_err'
drivers/ata/mtk_ahci.c:65: undefined reference to `dev_err'
in function `mtk_ahci_probe':
drivers/ata/mtk_ahci.c:92: undefined reference to `dev_err'
Segmentation fault

fix this by adding the dm/device_compat.h to includes

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
2021-03-19 10:35:19 -04:00
..
ahci_mvebu.c ata: mvebu: use dev_read_addr() to get base address 2020-08-22 08:51:44 -06:00
ahci_sunxi.c ata: sunxi: fix debug messages 2021-01-31 23:55:56 +00:00
ahci-pci.c ahci-pci: ASM1061 report wrong class, but support AHCI. 2019-10-11 10:10:18 -04:00
ahci-uclass.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ahci.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
dwc_ahci.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
dwc_ahsata_priv.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dwc_ahsata.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
fsl_sata.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
fsl_sata.h ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver 2019-11-19 14:11:44 +05:30
Kconfig ahci: mediatek: add ahci driver 2020-08-19 17:38:15 -04:00
libata.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Makefile ahci: mediatek: add ahci driver 2020-08-19 17:38:15 -04:00
mtk_ahci.c ahci: mediatek: fix undefined reference of dev_err 2021-03-19 10:35:19 -04:00
mvsata_ide.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sata_ceva.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
sata_mv.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sata_sandbox.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
sata_sil3114.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sata_sil3114.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sata_sil.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
sata_sil.h sata_sil: Enable DM_PCI operation 2020-07-07 18:23:48 -04:00
sata.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00