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:
cem 2020-01-23 23:52:57 +00:00
parent e2ccc99bb3
commit 1c59e40a69

View File

@ -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)