未验证 提交 824e88e9 编写于 作者: Z Zhang 提交者: Gitee

update zh-cn/device-dev/driver/driver-hdf-development.md.

Signed-off-by: NZhang <zhangfengxi@huawei.com>
上级 ed8b069b
......@@ -30,14 +30,14 @@ HDF(Hardware Driver Foundation)框架以组件化的驱动模型作为核心
int32_t HdfSampleDriverBind(struct HdfDeviceObject *deviceObject)
{
HDF_LOGD("Sample driver bind success");
return 0;
return HDF_SUCCESS;
}
// 驱动自身业务初始化的接口
int32_t HdfSampleDriverInit(struct HdfDeviceObject *deviceObject)
{
HDF_LOGD("Sample driver Init success");
return 0;
return HDF_SUCCESS;
}
// 驱动资源释放的接口
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册