Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33227
b: refs/heads/master
c: c3760ae
h: refs/heads/master
i:
  33225: 98f5f4e
  33223: 6e5a9cc
v: v3
  • Loading branch information
Olaf Hering authored and Linus Torvalds committed Aug 6, 2006
1 parent f0c6ca7 commit b6c1e19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 06fa45d3a19c6fbfccbf295e9f08087492338631
refs/heads/master: c3760ae1f914cf4479301a92c58ae65824ac5894
10 changes: 3 additions & 7 deletions trunk/drivers/video/aty/aty128fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1913,9 +1913,6 @@ static int __devinit aty128_init(struct pci_dev *pdev, const struct pci_device_i
u8 chip_rev;
u32 dac;

if (!par->vram_size) /* may have already been probed */
par->vram_size = aty_ld_le32(CONFIG_MEMSIZE) & 0x03FFFFFF;

/* Get the chip revision */
chip_rev = (aty_ld_le32(CONFIG_CNTL) >> 16) & 0x1F;

Expand Down Expand Up @@ -2028,9 +2025,6 @@ static int __devinit aty128_init(struct pci_dev *pdev, const struct pci_device_i

aty128_init_engine(par);

if (register_framebuffer(info) < 0)
return 0;

par->pm_reg = pci_find_capability(pdev, PCI_CAP_ID_PM);
par->pdev = pdev;
par->asleep = 0;
Expand All @@ -2040,6 +2034,9 @@ static int __devinit aty128_init(struct pci_dev *pdev, const struct pci_device_i
aty128_bl_init(par);
#endif

if (register_framebuffer(info) < 0)
return 0;

printk(KERN_INFO "fb%d: %s frame buffer device on %s\n",
info->node, info->fix.id, video_card);

Expand Down Expand Up @@ -2089,7 +2086,6 @@ static int __devinit aty128_probe(struct pci_dev *pdev, const struct pci_device_
par = info->par;

info->pseudo_palette = par->pseudo_palette;
info->fix = aty128fb_fix;

/* Virtualize mmio region */
info->fix.mmio_start = reg_addr;
Expand Down

0 comments on commit b6c1e19

Please sign in to comment.