提交 26ab85d5 编写于 作者: M mazhiyuan

修复phy中device->ops的错误

上级 33263d7e
......@@ -60,7 +60,7 @@ rt_err_t rt_hw_phy_register(struct rt_phy_device *phy, const char *name)
device->tx_complete = RT_NULL;
#ifdef RT_USING_DEVICE_OPS
device->ops = phy_ops;
device->ops = &phy_ops;
#else
device->init = NULL;
device->open = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册