Skip to contentSkip to conversation

devfreq: event: Add 'const' keyword for devfreq_event_ops structure

PATCH MyungJoo Ham 1 participant 1 message Mar 12, 2015 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

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

Quoted 8 lines
Cc Myungjoo Ham <[email protected]>
Cc Kyungmin Park <[email protected]>
---
 drivers/devfreq/event/exynos-ppmu.c | 2 +-
 include/linux/devfreq-event.h       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Merged with a little rephrasing.