Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324763
b: refs/heads/master
c: d328ddd
h: refs/heads/master
i:
  324761: e2117df
  324759: ec02a4e
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 8d9d8ed commit ea5fd35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 147cd165757fc67fdf8ae58b015f39c8134970fb
refs/heads/master: d328ddd20e076e940f4931cd032aedf1ae2ced73
3 changes: 2 additions & 1 deletion trunk/drivers/staging/sm7xxfb/sm7xxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
if (err)
return err;

sprintf(name, "sm%Xfb", ent->device);

sfb = smtc_alloc_fb_info(pdev, name);

if (!sfb) {
Expand All @@ -806,7 +808,6 @@ static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
}

sfb->chip_id = ent->device;
sprintf(name, "sm%Xfb", sfb->chip_id);

pci_set_drvdata(pdev, sfb);

Expand Down

0 comments on commit ea5fd35

Please sign in to comment.