diff options
Diffstat (limited to 'drivers/devfreq/devfreq.c')
-rw-r--r-- | drivers/devfreq/devfreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 0ebd64dfc0a9..c7f47e34807b 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c | |||
@@ -552,6 +552,7 @@ struct devfreq *devfreq_add_device(struct device *dev, | |||
552 | devfreq->profile = profile; | 552 | devfreq->profile = profile; |
553 | strncpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); | 553 | strncpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); |
554 | devfreq->previous_freq = profile->initial_freq; | 554 | devfreq->previous_freq = profile->initial_freq; |
555 | devfreq->last_status.current_frequency = profile->initial_freq; | ||
555 | devfreq->data = data; | 556 | devfreq->data = data; |
556 | devfreq->nb.notifier_call = devfreq_notifier_call; | 557 | devfreq->nb.notifier_call = devfreq_notifier_call; |
557 | 558 | ||