summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-27 05:06:25 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-02 02:04:18 +0300
commitb09549ef9b66b9547520572bedd7af3c1f0747d7 (patch)
tree20aee6d1c81aa3ed4f49bb214546a2282b3cd9b0 /include/linux/pci.h
parentad668599f263988eaac74354349d64e3c0990a77 (diff)
downloadlinux-b09549ef9b66b9547520572bedd7af3c1f0747d7.tar.xz
PCI: drivers/pci/rom.c: #if 0 two functions
This patch #if 0's the following unused global functions: - rom.c: pci_map_rom_copy() - rom.c: pci_remove_rom() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 169899b5c555..d2cae79f3bea 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -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 */