diff options
Diffstat (limited to 'drivers/video/offb.c')
-rw-r--r-- | drivers/video/offb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/offb.c b/drivers/video/offb.c index bb915a43dd62..4d8c54c23dd7 100644 --- a/drivers/video/offb.c +++ b/drivers/video/offb.c | |||
@@ -493,7 +493,7 @@ static void __init offb_init_fb(const char *name, const char *full_name, | |||
493 | iounmap(par->cmap_adr); | 493 | iounmap(par->cmap_adr); |
494 | par->cmap_adr = NULL; | 494 | par->cmap_adr = NULL; |
495 | iounmap(info->screen_base); | 495 | iounmap(info->screen_base); |
496 | kfree(info); | 496 | framebuffer_release(info); |
497 | release_mem_region(res_start, res_size); | 497 | release_mem_region(res_start, res_size); |
498 | return; | 498 | return; |
499 | } | 499 | } |