svn commit: r357063 - head/sys/x86/cpufreq
Conrad Meyer
cem at FreeBSD.org
Thu Jan 23 23:52:57 UTC 2020
Author: cem
Date: Thu Jan 23 23:52:57 2020
New Revision: 357063
URL: https://svnweb.freebsd.org/changeset/base/357063
Log:
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
Modified:
head/sys/x86/cpufreq/hwpstate_intel.c
Modified: head/sys/x86/cpufreq/hwpstate_intel.c
==============================================================================
--- head/sys/x86/cpufreq/hwpstate_intel.c Thu Jan 23 23:36:58 2020 (r357062)
+++ head/sys/x86/cpufreq/hwpstate_intel.c Thu Jan 23 23:52:57 2020 (r357063)
@@ -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)
More information about the svn-src-all
mailing list