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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to