diff options
Diffstat (limited to 'drivers/video/epson1355fb.c')
-rw-r--r-- | drivers/video/epson1355fb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/epson1355fb.c b/drivers/video/epson1355fb.c index 29e07c109887..37e297d7feb7 100644 --- a/drivers/video/epson1355fb.c +++ b/drivers/video/epson1355fb.c | |||
@@ -650,9 +650,10 @@ int __init epson1355fb_probe(struct platform_device *dev) | |||
650 | } | 650 | } |
651 | 651 | ||
652 | info = framebuffer_alloc(sizeof(struct epson1355_par) + sizeof(u32) * 256, &dev->dev); | 652 | info = framebuffer_alloc(sizeof(struct epson1355_par) + sizeof(u32) * 256, &dev->dev); |
653 | if (!info) | 653 | if (!info) { |
654 | rc = -ENOMEM; | 654 | rc = -ENOMEM; |
655 | goto bail; | 655 | goto bail; |
656 | } | ||
656 | 657 | ||
657 | default_par = info->par; | 658 | default_par = info->par; |
658 | default_par->reg_addr = (unsigned long) ioremap(EPSON1355FB_REGS_PHYS, EPSON1355FB_REGS_LEN); | 659 | default_par->reg_addr = (unsigned long) ioremap(EPSON1355FB_REGS_PHYS, EPSON1355FB_REGS_LEN); |