phy: Include device_compat.h

Necessary for dev_xxx.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson 2020-10-04 21:39:47 -04:00 committed by Tom Rini
parent d878ef736d
commit bdc1fdf6fc

View 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)
{