diff options
-rw-r--r-- | drivers/video/da8xx-fb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index c265aed09e04..520047ac6e3e 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c | |||
@@ -1092,9 +1092,10 @@ static int __init fb_probe(struct platform_device *device) | |||
1092 | 1092 | ||
1093 | irq_freq: | 1093 | irq_freq: |
1094 | #ifdef CONFIG_CPU_FREQ | 1094 | #ifdef CONFIG_CPU_FREQ |
1095 | lcd_da8xx_cpufreq_deregister(par); | ||
1096 | #endif | ||
1095 | err_cpu_freq: | 1097 | err_cpu_freq: |
1096 | unregister_framebuffer(da8xx_fb_info); | 1098 | unregister_framebuffer(da8xx_fb_info); |
1097 | #endif | ||
1098 | 1099 | ||
1099 | err_dealloc_cmap: | 1100 | err_dealloc_cmap: |
1100 | fb_dealloc_cmap(&da8xx_fb_info->cmap); | 1101 | fb_dealloc_cmap(&da8xx_fb_info->cmap); |