diff options
Diffstat (limited to 'drivers/powercap/powercap_sys.c')
-rw-r--r-- | drivers/powercap/powercap_sys.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/powercap/powercap_sys.c b/drivers/powercap/powercap_sys.c index 84419af16f77..14bde0db8c24 100644 --- a/drivers/powercap/powercap_sys.c +++ b/drivers/powercap/powercap_sys.c | |||
@@ -293,8 +293,8 @@ err_alloc: | |||
293 | } | 293 | } |
294 | 294 | ||
295 | static int create_constraints(struct powercap_zone *power_zone, | 295 | static int create_constraints(struct powercap_zone *power_zone, |
296 | int nr_constraints, | 296 | int nr_constraints, |
297 | struct powercap_zone_constraint_ops *const_ops) | 297 | const struct powercap_zone_constraint_ops *const_ops) |
298 | { | 298 | { |
299 | int i; | 299 | int i; |
300 | int ret = 0; | 300 | int ret = 0; |
@@ -492,13 +492,13 @@ static struct class powercap_class = { | |||
492 | }; | 492 | }; |
493 | 493 | ||
494 | struct powercap_zone *powercap_register_zone( | 494 | struct powercap_zone *powercap_register_zone( |
495 | struct powercap_zone *power_zone, | 495 | struct powercap_zone *power_zone, |
496 | struct powercap_control_type *control_type, | 496 | struct powercap_control_type *control_type, |
497 | const char *name, | 497 | const char *name, |
498 | struct powercap_zone *parent, | 498 | struct powercap_zone *parent, |
499 | const struct powercap_zone_ops *ops, | 499 | const struct powercap_zone_ops *ops, |
500 | int nr_constraints, | 500 | int nr_constraints, |
501 | struct powercap_zone_constraint_ops *const_ops) | 501 | const struct powercap_zone_constraint_ops *const_ops) |
502 | { | 502 | { |
503 | int result; | 503 | int result; |
504 | int nr_attrs; | 504 | int nr_attrs; |