Skip to content
Commit 86430c1a authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (core) Avoid cyclic dependency between hwmon and thermal_sys



If both hwmon and thermal_sys are built as modules, and
CONFIG_THERMAL_HWMON is enabled, the following cyclic module dependency
is reported.

depmod: ERROR: Found 2 modules in dependency cycles!
depmod: ERROR: Cycle detected: hwmon -> thermal_sys -> hwmon

Fixes: e4bce763adb2 ("hwmon: (core) New hwmon registration API")
Reported-by: default avatarVignesh R <vigneshr@ti.com>
Cc: Keerthy J <j-keerthy@ti.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent aa18cc91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment