diff --git a/drivers/video/offb.c b/drivers/video/offb.c index 46dda7d..7d05535 100644 --- a/drivers/video/offb.c +++ b/drivers/video/offb.c @@ -494,8 +494,8 @@ static void __init offb_init_fb(const char *name, const char *full_name, info->apertures = alloc_apertures(1); if (!info->apertures) goto out_aper; - info->apertures->ranges[0].base = address; - info->apertures->ranges[0].size = fix->smem_len; + info->apertures->ranges[0].base = res_start; + info->apertures->ranges[0].size = res_size; info->fbops = &offb_ops; info->screen_base = ioremap(address, fix->smem_len);