mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
cpufreq(4): Fix missing MODULE_DEPEND on hwpstate_intel
DRIVER_MODULE does not actually define a MODULE_VERSION, which is required to satisfy a MODULE_DEPENDency. Declare one explicitly in hwpstate_intel(4). Reported by: flo X-MFC-With: r357002
This commit is contained in:
parent
03fd4409c7
commit
08a220dd79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357063
|
@ -106,6 +106,7 @@ static driver_t hwpstate_intel_driver = {
|
|||
|
||||
DRIVER_MODULE(hwpstate_intel, cpu, hwpstate_intel_driver,
|
||||
hwpstate_intel_devclass, NULL, NULL);
|
||||
MODULE_VERSION(hwpstate_intel, 1);
|
||||
|
||||
static int
|
||||
intel_hwp_dump_sysctl_handler(SYSCTL_HANDLER_ARGS)
|
||||
|
|
Loading…
Reference in a new issue