diff options
Diffstat (limited to 'drivers/video/i810/i810_main.c')
-rw-r--r-- | drivers/video/i810/i810_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index 1d148c5a5a4b..c0c974b1afaa 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c | |||
@@ -2057,8 +2057,7 @@ static void i810fb_release_resource(struct fb_info *info, | |||
2057 | iounmap(par->mmio_start_virtual); | 2057 | iounmap(par->mmio_start_virtual); |
2058 | if (par->aperture.virtual) | 2058 | if (par->aperture.virtual) |
2059 | iounmap(par->aperture.virtual); | 2059 | iounmap(par->aperture.virtual); |
2060 | if (par->edid) | 2060 | kfree(par->edid); |
2061 | kfree(par->edid); | ||
2062 | if (par->res_flags & FRAMEBUFFER_REQ) | 2061 | if (par->res_flags & FRAMEBUFFER_REQ) |
2063 | release_mem_region(par->aperture.physical, | 2062 | release_mem_region(par->aperture.physical, |
2064 | par->aperture.size); | 2063 | par->aperture.size); |