Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105527
b: refs/heads/master
c: fcea803
h: refs/heads/master
i:
  105525: 7066ecb
  105523: 6bc3ced
  105519: 8b3cc4c
v: v3
  • Loading branch information
Tony Breeds authored and Linus Torvalds committed Jul 24, 2008
1 parent 346509e commit d649a75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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: 7951ac91c7d45b61f54f1cdabc24b52b40785de6
refs/heads/master: fcea8030b3c2e71ad89f080901c63a04f07881c8
10 changes: 8 additions & 2 deletions trunk/drivers/video/aty/radeon_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,7 @@ static int __devinit radeonfb_pci_register (struct pci_dev *pdev,
struct radeonfb_info *rinfo;
int ret;
unsigned char c1, c2;
int err = 0;

pr_debug("radeonfb_pci_register BEGIN\n");

Expand Down Expand Up @@ -2340,9 +2341,14 @@ static int __devinit radeonfb_pci_register (struct pci_dev *pdev,

/* Register some sysfs stuff (should be done better) */
if (rinfo->mon1_EDID)
sysfs_create_bin_file(&rinfo->pdev->dev.kobj, &edid1_attr);
err |= sysfs_create_bin_file(&rinfo->pdev->dev.kobj,
&edid1_attr);
if (rinfo->mon2_EDID)
sysfs_create_bin_file(&rinfo->pdev->dev.kobj, &edid2_attr);
err |= sysfs_create_bin_file(&rinfo->pdev->dev.kobj,
&edid2_attr);
if (err)
pr_warning("%s() Creating sysfs files failed, continuing\n",
__func__);

/* save current mode regs before we switch into the new one
* so we can restore this upon __exit
Expand Down

0 comments on commit d649a75

Please sign in to comment.