Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96360
b: refs/heads/master
c: ebdf982
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Russell King committed May 7, 2008
1 parent 1065ed9 commit 0768231
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: bdd0f5f06e7647b545bec3ead2fa2a5fcdf0f0f9
refs/heads/master: ebdf982aaeb0005d5093b10872adce17ea12f5ba
8 changes: 4 additions & 4 deletions trunk/drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1301,8 +1301,8 @@ static void pxafb_decode_mode_info(struct pxafb_info *fbi,
}
}

static int pxafb_decode_mach_info(struct pxafb_info *fbi,
struct pxafb_mach_info *inf)
static void pxafb_decode_mach_info(struct pxafb_info *fbi,
struct pxafb_mach_info *inf)
{
unsigned int lcd_conn = inf->lcd_conn;

Expand Down Expand Up @@ -1333,7 +1333,7 @@ static int pxafb_decode_mach_info(struct pxafb_info *fbi,
fbi->lccr0 = inf->lccr0;
fbi->lccr3 = inf->lccr3;
fbi->lccr4 = inf->lccr4;
return -EINVAL;
goto decode_mode;
}

if (lcd_conn == LCD_MONO_STN_8BPP)
Expand All @@ -1343,8 +1343,8 @@ static int pxafb_decode_mach_info(struct pxafb_info *fbi,
fbi->lccr3 |= (lcd_conn & LCD_BIAS_ACTIVE_LOW) ? LCCR3_OEP : 0;
fbi->lccr3 |= (lcd_conn & LCD_PCLK_EDGE_FALL) ? LCCR3_PCP : 0;

decode_mode:
pxafb_decode_mode_info(fbi, inf->modes, inf->num_modes);
return 0;
}

static struct pxafb_info * __init pxafb_init_fbinfo(struct device *dev)
Expand Down

0 comments on commit 0768231

Please sign in to comment.