Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144874
b: refs/heads/master
c: ee1ef82
h: refs/heads/master
v: v3
  • Loading branch information
Harald Welte authored and Linus Torvalds committed May 12, 2009
1 parent e6609e9 commit 021c173
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ee83126bb17f6216e8815a4146e80032b4d80ba4
refs/heads/master: ee1ef82c7e6d073f881952348960bbc639687482
6 changes: 3 additions & 3 deletions trunk/drivers/video/via/viafbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2103,7 +2103,7 @@ static void viafb_remove_proc(struct proc_dir_entry *viafb_entry)

static int __devinit via_pci_probe(void)
{
unsigned int default_xres, default_yres;
unsigned long default_xres, default_yres;
char *tmpc, *tmpm;
char *tmpc_sec, *tmpm_sec;
int vmode_index;
Expand Down Expand Up @@ -2196,8 +2196,8 @@ static int __devinit via_pci_probe(void)
viafb_FB_MM = viaparinfo->fbmem_virt;
tmpm = viafb_mode;
tmpc = strsep(&tmpm, "x");
strict_strtoul(tmpc, 0, (unsigned long *)&default_xres);
strict_strtoul(tmpm, 0, (unsigned long *)&default_yres);
strict_strtoul(tmpc, 0, &default_xres);
strict_strtoul(tmpm, 0, &default_yres);

vmode_index = viafb_get_mode_index(default_xres, default_yres, 0);
DEBUG_MSG(KERN_INFO "0->index=%d\n", vmode_index);
Expand Down

0 comments on commit 021c173

Please sign in to comment.