Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82299
b: refs/heads/master
c: b09549e
h: refs/heads/master
i:
  82297: d7e586d
  82295: b5f8f59
v: v3
  • Loading branch information
Adrian Bunk authored and Greg Kroah-Hartman committed Feb 1, 2008
1 parent 91d7396 commit 32a1111
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: ad668599f263988eaac74354349d64e3c0990a77
refs/heads/master: b09549ef9b66b9547520572bedd7af3c1f0747d7
6 changes: 4 additions & 2 deletions trunk/drivers/pci/rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ void __iomem *pci_map_rom(struct pci_dev *pdev, size_t *size)
return rom;
}

#if 0
/**
* pci_map_rom_copy - map a PCI ROM to kernel space, create a copy
* @pdev: pointer to pci device struct
Expand Down Expand Up @@ -196,6 +197,7 @@ void __iomem *pci_map_rom_copy(struct pci_dev *pdev, size_t *size)

return (void __iomem *)(unsigned long)res->start;
}
#endif /* 0 */

/**
* pci_unmap_rom - unmap the ROM from kernel space
Expand All @@ -218,6 +220,7 @@ void pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom)
pci_disable_rom(pdev);
}

#if 0
/**
* pci_remove_rom - disable the ROM and remove its sysfs attribute
* @pdev: pointer to pci device struct
Expand All @@ -236,6 +239,7 @@ void pci_remove_rom(struct pci_dev *pdev)
IORESOURCE_ROM_COPY)))
pci_disable_rom(pdev);
}
#endif /* 0 */

/**
* pci_cleanup_rom - internal routine for freeing the ROM copy created
Expand All @@ -256,6 +260,4 @@ void pci_cleanup_rom(struct pci_dev *pdev)
}

EXPORT_SYMBOL(pci_map_rom);
EXPORT_SYMBOL(pci_map_rom_copy);
EXPORT_SYMBOL(pci_unmap_rom);
EXPORT_SYMBOL(pci_remove_rom);
2 changes: 0 additions & 2 deletions trunk/include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,7 @@ int pci_select_bars(struct pci_dev *dev, unsigned long flags);

/* ROM control related routines */
void __iomem __must_check *pci_map_rom(struct pci_dev *pdev, size_t *size);
void __iomem __must_check *pci_map_rom_copy(struct pci_dev *pdev, size_t *size);
void pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom);
void pci_remove_rom(struct pci_dev *pdev);
size_t pci_get_rom_size(void __iomem *rom, size_t size);

/* Power management related routines */
Expand Down

0 comments on commit 32a1111

Please sign in to comment.