summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2019-07-15 09:56:30 +1000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-15 11:42:31 +0200
commit8da04e05cdfc715d414a1c5f8318c03030eb68fb (patch)
tree545159c89c9ed79484aedc8e0dc0ef617974c9fa
parent2e3f45004715085ad53fb0098ae671194157eca4 (diff)
intel_rapl: need linux/cpuhotplug.h for enum cpuhp_state
Fixes: 7ebf8eff63b4 ("intel_rapl: introduce struct rapl_if_private") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--include/linux/intel_rapl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/intel_rapl.h b/include/linux/intel_rapl.h
index 0c179d92d110..efb3ce892c20 100644
--- a/include/linux/intel_rapl.h
+++ b/include/linux/intel_rapl.h
@@ -12,6 +12,7 @@
#include <linux/types.h>
#include <linux/powercap.h>
+#include <linux/cpuhotplug.h>
enum rapl_domain_type {
RAPL_DOMAIN_PACKAGE, /* entire package/socket */