phy: Include device_compat.h
authorSean Anderson <seanga2@gmail.com>
Mon, 5 Oct 2020 01:39:47 +0000 (21:39 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 15 Oct 2020 22:36:56 +0000 (18:36 -0400)
Necessary for dev_xxx.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
drivers/phy/phy-uclass.c

index f344e94..ef03e3a 100644 (file)
@@ -6,9 +6,9 @@
 
 #include <common.h>
 #include <dm.h>
+#include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <generic-phy.h>
-#include <log.h>
 
 static inline struct phy_ops *phy_dev_ops(struct udevice *dev)
 {