Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 23:52:57 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357063 - head/sys/x86/cpufreq
Message-ID:  <202001232352.00NNqvJ7041475@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001232352.00NNqvJ7041475>