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
@ -106,6 +106,7 @@ static driver_t hwpstate_intel_driver = {
|
|||||||
|
|
||||||
DRIVER_MODULE(hwpstate_intel, cpu, hwpstate_intel_driver,
|
DRIVER_MODULE(hwpstate_intel, cpu, hwpstate_intel_driver,
|
||||||
hwpstate_intel_devclass, NULL, NULL);
|
hwpstate_intel_devclass, NULL, NULL);
|
||||||
|
MODULE_VERSION(hwpstate_intel, 1);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
intel_hwp_dump_sysctl_handler(SYSCTL_HANDLER_ARGS)
|
intel_hwp_dump_sysctl_handler(SYSCTL_HANDLER_ARGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user