summaryrefslogtreecommitdiff
path: root/drivers/video/nuc900fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/nuc900fb.c')
-rw-r--r--drivers/video/nuc900fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/nuc900fb.c b/drivers/video/nuc900fb.c
index 6bf0d46..d4cde79 100644
--- a/drivers/video/nuc900fb.c
+++ b/drivers/video/nuc900fb.c
@@ -667,7 +667,7 @@ release_irq:
release_regs:
iounmap(fbi->io);
release_mem_region:
- release_mem_region((unsigned long)fbi->mem, size);
+ release_mem_region(res->start, size);
free_fb:
framebuffer_release(fbinfo);
return ret;