Unverified Commit 55b626d7 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4317 [OLK-6.6] cputemp: zhaoxin: fix HWMON_THERMAL namespace not import issue

Merge Pull Request from: @leoliu-oc 
 
The function "hwmon_device_register_for_thermal" needs "MODULE_IMPORT_NS(HWMON_THERMAL);" to use it.

### Issue
https://gitee.com/openeuler/kernel/issues/I8ZP5Z

### Test
The issue has already fixed!
> ERROR: modpost: module zhaoxin-cputemp uses symbol hwmon_device_register_for_thermal from namespace HWMON_THERMAL, but does not import it. 
 
Link:https://gitee.com/openeuler/kernel/pulls/4317

 

Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 64ccfeaa 25919b75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment