Skip to content

Commit

Permalink
hwmon: zhaoxin-cputemp: add HWMON_THERMAL import
Browse files Browse the repository at this point in the history
Since the driver utilizes the hwmon_device_register_for_thermal function,
it is necessary to add "MODULE_IMPORT_NS(HWMON_THERMAL)" to the code.

Signed-off-by: leoliu-oc <[email protected]>
  • Loading branch information
leoliu-oc committed Jul 9, 2024
1 parent 203f542 commit 43bd631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1194,4 +1194,4 @@ module_exit(hwmon_exit);
MODULE_AUTHOR("Mark M. Hoffman <[email protected]>");
MODULE_DESCRIPTION("hardware monitoring sysfs/class support");
MODULE_LICENSE("GPL");

MODULE_IMPORT_NS(HWMON_THERMAL);

0 comments on commit 43bd631

Please sign in to comment.