Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317976
b: refs/heads/master
c: cd4653a
h: refs/heads/master
v: v3
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent d7d38da commit b8d94d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 4a7c2e0d73511b1bd155e175b973a075de030043
refs/heads/master: cd4653ae715321be0315d603e4c4ca2db8572493
8 changes: 4 additions & 4 deletions trunk/drivers/staging/sm7xxfb/sm7xxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ struct smtcfb_info {
u_int width;
u_int height;
u_int hz;

u32 colreg[17];
};

char __iomem *smtc_RegBaseAddress; /* Memory Map IO starting address */
char __iomem *smtc_VRAMBaseAddress; /* video memory starting address */

static u32 colreg[17];

static struct fb_var_screeninfo smtcfb_var = {
.xres = 1024,
.yres = 600,
Expand Down Expand Up @@ -709,9 +709,9 @@ static struct smtcfb_info *smtc_alloc_fb_info(struct pci_dev *pdev, char *name)
sfb->fb.var.accel_flags = FB_ACCELF_TEXT;
sfb->fb.var.vmode = FB_VMODE_NONINTERLACED;

sfb->fb.par = sfb;
sfb->fb.pseudo_palette = sfb->colreg;

sfb->fb.pseudo_palette = colreg;
sfb->fb.par = sfb;

return sfb;
}
Expand Down

0 comments on commit b8d94d6

Please sign in to comment.