mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-07-19 16:24:45 -04:00
@@ -98,7 +98,7 @@ int32_t SampleDriverBind(struct HdfDeviceObject *deviceObject)
|
||||
int32_t SampleDriverInit(struct HdfDeviceObject *deviceObject)
|
||||
{
|
||||
// TODO: Init hardware or other resources here.
|
||||
return HDF_S UCCESS;
|
||||
return HDF_SUCCESS;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ Init接口描述:当框架完成设备绑定动作后,就开始调用驱动
|
||||
int32_t SampleDriverInit(struct HdfDeviceObject *deviceObject)
|
||||
{
|
||||
// TODO: Init hardware or other resources here.
|
||||
return HDF_S UCCESS;
|
||||
return HDF_SUCCESS;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user