Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53332
b: refs/heads/master
c: 40ee9e9
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Barnes authored and Greg Kroah-Hartman committed May 3, 2007
1 parent 4d8b23b commit 2e87925
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 8d7d86e9bd377e5779bf3c8da03b27d823c039b4
refs/heads/master: 40ee9e9f8d52d85f2446bbdda7823a3f1de62f3f
2 changes: 1 addition & 1 deletion trunk/arch/i386/pci/fixup.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ static void __devinit pci_fixup_video(struct pci_dev *pdev)
printk(KERN_DEBUG "Boot video device is %s\n", pci_name(pdev));
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_video);
DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_video);

/*
* Some Toshiba laptops need extra code to enable their TI TSB43AB22/A.
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/pci/pci-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,8 @@ int __must_check pci_create_sysfs_dev_files (struct pci_dev *pdev)
goto err_bin_file;

/* If the device has a ROM, try to expose it in sysfs. */
if (pci_resource_len(pdev, PCI_ROM_RESOURCE)) {
if (pci_resource_len(pdev, PCI_ROM_RESOURCE) ||
(pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW)) {
rom_attr = kzalloc(sizeof(*rom_attr), GFP_ATOMIC);
if (rom_attr) {
pdev->rom_attr = rom_attr;
Expand Down Expand Up @@ -695,4 +696,4 @@ static int __init pci_sysfs_init(void)
return 0;
}

__initcall(pci_sysfs_init);
late_initcall(pci_sysfs_init);

0 comments on commit 2e87925

Please sign in to comment.