Skip to content

Commit 35eb1f5

Browse files
Wan Jiabingrafaeljw
authored andcommitted
powercap: RAPL: Fix struct declaration in header file
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>
1 parent 922e5dd commit 35eb1f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/intel_rapl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ enum rapl_domain_reg_id {
3333
RAPL_DOMAIN_REG_MAX,
3434
};
3535

36-
struct rapl_package;
36+
struct rapl_domain;
3737

3838
enum rapl_primitives {
3939
ENERGY_COUNTER,

0 commit comments

Comments
 (0)