projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922e5dd
)
powercap: RAPL: Fix struct declaration in header file
author
Wan Jiabing
<wanjiabing@vivo.com>
Tue, 30 Mar 2021 06:39:23 +0000
(14:39 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 8 Apr 2021 17:09:02 +0000
(19:09 +0200)
struct rapl_package is declared twice in intel_rapl.h, once at line 80
and once earlier.
Code inspection suggests that the first instance should be struct
rapl_domain rather than rapl_package, so change it.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/intel_rapl.h
patch
|
blob
|
history
diff --git
a/include/linux/intel_rapl.h
b/include/linux/intel_rapl.h
index 50b8398ffd214f189c1713a453b5595621d1c16d..93780834fc8f0fa4fca70b35123770758b820893 100644
(file)
--- a/
include/linux/intel_rapl.h
+++ b/
include/linux/intel_rapl.h
@@
-33,7
+33,7
@@
enum rapl_domain_reg_id {
RAPL_DOMAIN_REG_MAX,
};
-struct rapl_
package
;
+struct rapl_
domain
;
enum rapl_primitives {
ENERGY_COUNTER,