From: Gireesh Hiremath <gireesh.hirem...@in.bosch.com> Now that linux/compat.h does not define dev_xxx macros, we need to include dm/device_compat.h to use dev_xxx macros
Signed-off-by: Gireesh Hiremath <gireesh.hirem...@in.bosch.com> --- drivers/video/am335x-fb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index f4ccdc3b05..e802b3bb83 100644 --- a/drivers/video/am335x-fb.c +++ b/drivers/video/am335x-fb.c @@ -13,6 +13,7 @@ */ #include <common.h> #include <dm.h> +#include <dm/device_compat.h> #include <lcd.h> #include <log.h> #include <video.h> -- 2.20.1