commit | 2a3c6e6396fb6176503d2eb02e62ce159cd70b15 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Tue Mar 07 10:37:56 2017 -0800 |
committer | Greg Hackmann <ghackmann@google.com> | Fri Mar 17 09:48:24 2017 -0700 |
tree | df6bf1ca1803661edd8a50eeac333823138bbd9a | |
parent | 481aeb2911fc680fbee6a8fd4330b93d857abccf [diff] |
ANDROID: sched: fix duplicate sched_group_energy const specifiers EAS uses "const struct sched_group_energy * const" fairly consistently. But a couple of places swap the "*" and second "const", making the pointer mutable. In the case of struct sched_group, "* const" would have been an error, since init_sched_energy() writes to sd->groups->sge. Change-Id: Ic6a8fcf99e65c0f25d9cc55c32625ef3ca5c9aca Signed-off-by: Greg Hackmann <ghackmann@google.com>