Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268801
b: refs/heads/master
c: c11d0ef
h: refs/heads/master
i:
  268799: e3ba49f
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Oct 12, 2011
1 parent 8f1595c commit 48b869b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9865d47d44600b86e00a274adc8bf28e10677da
refs/heads/master: c11d0ef3e250a4483e10e6984362b07fbf12c5ae
7 changes: 0 additions & 7 deletions trunk/drivers/staging/xgifb/XGI_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,6 @@ MODULE_DEVICE_TABLE(pci, xgifb_pci_table);

/* ------------------- Global Variables ----------------------------- */

static struct fb_fix_screeninfo XGIfb_fix = {
.id = "XGI",
.type = FB_TYPE_PACKED_PIXELS,
.xpanstep = 1,
.ypanstep = 1,
};

/* display status */
static int XGIfb_crt1off;
static int XGIfb_forcecrt1 = -1;
Expand Down
6 changes: 5 additions & 1 deletion trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -2390,8 +2390,12 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,

}

strncpy(fb_info->fix.id, "XGI", sizeof(fb_info->fix.id) - 1);
fb_info->fix.type = FB_TYPE_PACKED_PIXELS;
fb_info->fix.xpanstep = 1;
fb_info->fix.ypanstep = 1;

fb_info->flags = FBINFO_FLAG_DEFAULT;
fb_info->fix = XGIfb_fix;
fb_info->screen_base = xgifb_info->video_vbase;
fb_info->fbops = &XGIfb_ops;
XGIfb_get_fix(&fb_info->fix, -1, fb_info);
Expand Down

0 comments on commit 48b869b

Please sign in to comment.