diff --git a/pkg/device/deviceswitch/ascend_switch.go b/pkg/device/deviceswitch/ascend_switch.go index 32a79912d67c08e817e3c52aa23a7f233be7ecbc..7763fa81527ef2a4376056a78f6c957070204a84 100644 --- a/pkg/device/deviceswitch/ascend_switch.go +++ b/pkg/device/deviceswitch/ascend_switch.go @@ -49,7 +49,7 @@ import ( // dcmi int (*lq_dcmi_init_func)(); static int dcmi_init_lq(){ - retrun lq_dcmi_init_func(); + return lq_dcmi_init_func(); } int (*lq_dcmi_get_fault_info_func)(unsigned int list_len, unsigned int *event_list_len, struct LqDcmiEvent *event_list);