|
@@ -1634,7 +1634,7 @@ tgafb_register(struct device *dev)
|
|
FBINFO_HWACCEL_IMAGEBLIT | FBINFO_HWACCEL_FILLRECT;
|
|
FBINFO_HWACCEL_IMAGEBLIT | FBINFO_HWACCEL_FILLRECT;
|
|
info->fbops = &tgafb_ops;
|
|
info->fbops = &tgafb_ops;
|
|
info->screen_base = par->tga_fb_base;
|
|
info->screen_base = par->tga_fb_base;
|
|
- info->pseudo_palette = (void *)(par + 1);
|
|
|
|
|
|
+ info->pseudo_palette = par->palette;
|
|
|
|
|
|
/* This should give a reasonable default video mode. */
|
|
/* This should give a reasonable default video mode. */
|
|
if (tga_bus_pci) {
|
|
if (tga_bus_pci) {
|