PM / devfreq: event: Add const keyword for devfreq_event_ops structure
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 10 Mar 2015 00:27:35 +0000 (09:27 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 30 Mar 2015 08:09:41 +0000 (17:09 +0900)
commit6f240fbc474018872f6d9664a3bd350bd22cc8d9
treed5eacdee7518186c03221673e19f914facfafcbf
parente42391cd048809d903291d07f86ed3934ce138e9
PM / devfreq: event: Add const keyword for devfreq_event_ops structure

This patch adds the const keyword for devfreq_event_ops structure
because the ops of devfreq_event_desc structure should not be changed
after initialization.

Cc: Myungjoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/event/exynos-ppmu.c
include/linux/devfreq-event.h