The info field in struct sti_struct was used to detect the default
display device. That test is now done with the respective Linux device
and the info field is unused. Remove it.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
}
/* save for primary gfx device detection & unregister_framebuffer() */
- sti->info = info;
if (register_framebuffer(fb->info) < 0)
goto out_err4;
iounmap(info->screen_base);
out_err0:
framebuffer_release(info);
- sti->info = NULL;
return -ENXIO;
}
framebuffer_release(info);
dev_set_drvdata(sti->dev, NULL);
}
- sti->info = NULL;
}
}
#define STICORE_H
struct device;
-struct fb_info;
/* generic STI structures & functions */
/* PCI data structures (pg. 17ff from sti.pdf) */
u8 rm_entry[16]; /* pci region mapper array == pci config space offset */
- /* pointer to the fb_info where this STI device is used */
- struct fb_info *info;
-
/* pointer to the parent device */
struct device *dev;