diff --git a/zh-cn/device-dev/driver/driver-hdf-sample.md b/zh-cn/device-dev/driver/driver-hdf-sample.md index 8e6d6589448c45e0b33fee250b97f1deff4ef839..d6f439cfe6b520bef6d30307380735cab28da250 100644 --- a/zh-cn/device-dev/driver/driver-hdf-sample.md +++ b/zh-cn/device-dev/driver/driver-hdf-sample.md @@ -64,7 +64,7 @@ root { #define SAMPLE_WRITE_READ 123 int32_t HdfSampleDriverDispatch( - struct HdfDeviceObject *deviceObject, int id, struct HdfSBuf *data, struct HdfSBuf *reply) + struct HdfDeviceIoClient *deviceObject, int id, struct HdfSBuf *data, struct HdfSBuf *reply) { HDF_LOGE("%s: received cmd %d", __func__, id); if (id == SAMPLE_WRITE_READ) {