Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317974
b: refs/heads/master
c: 0f9af64
h: refs/heads/master
v: v3
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent dd334dd commit 19e95c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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: 1df7e0e234bef878590660267e59db62a4655ba6
refs/heads/master: 0f9af641f2c0da815d6485eb977913d888601e12
24 changes: 12 additions & 12 deletions trunk/drivers/staging/sm7xxfb/sm7xxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int __init sm7xx_vga_setup(char *options)
}
__setup("vga=", sm7xx_vga_setup);

static void sm712_set_timing(struct smtcfb_info *sfb)
static void sm7xx_set_timing(struct smtcfb_info *sfb)
{
int i = 0, j = 0;
u32 m_nScreenStride;
Expand Down Expand Up @@ -243,6 +243,17 @@ static void sm712_set_timing(struct smtcfb_info *sfb)

}

static void smtc_set_timing(struct smtcfb_info *sfb)
{
switch (sfb->chip_id) {
case 0x710:
case 0x712:
case 0x720:
sm7xx_set_timing(sfb);
break;
}
}

static void sm712_setpalette(int regno, unsigned red, unsigned green,
unsigned blue, struct fb_info *info)
{
Expand All @@ -255,17 +266,6 @@ static void sm712_setpalette(int regno, unsigned red, unsigned green,
smtc_mmiowb(blue >> 10, dac_val);
}

static void smtc_set_timing(struct smtcfb_info *sfb)
{
switch (sfb->chip_id) {
case 0x710:
case 0x712:
case 0x720:
sm712_set_timing(sfb);
break;
}
}

/* chan_to_field
*
* convert a colour value into a field position
Expand Down

0 comments on commit 19e95c7

Please sign in to comment.