summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/pci_impl.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-09-28 16:52:51 -0500
committerBjorn Helgaas <bhelgaas@google.com>2017-11-07 18:38:48 -0600
commit03f41f288f7092311464d73af5621008f491f7cc (patch)
treedf174516dd1c638a6059be6dab1a4c24348f695d /arch/alpha/kernel/pci_impl.h
parent7b30aa1f237045fd54a0e9b050c7c06dff6b711a (diff)
downloadlinux-03f41f288f7092311464d73af5621008f491f7cc.tar.gz
linux-03f41f288f7092311464d73af5621008f491f7cc.tar.bz2
linux-03f41f288f7092311464d73af5621008f491f7cc.zip
alpha/PCI: Make pdev_save_srm_config() static
pdev_save_srm_config() and struct pdev_srm_saved_conf are only used in arch/alpha/kernel/pci.c, so make them static there. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/alpha/kernel/pci_impl.h')
-rw-r--r--arch/alpha/kernel/pci_impl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/alpha/kernel/pci_impl.h b/arch/alpha/kernel/pci_impl.h
index 2b0ac429f5eb..65adea0d3d78 100644
--- a/arch/alpha/kernel/pci_impl.h
+++ b/arch/alpha/kernel/pci_impl.h
@@ -156,16 +156,8 @@ struct pci_iommu_arena
#endif
#ifdef ALPHA_RESTORE_SRM_SETUP
-/* Store PCI device configuration left by SRM here. */
-struct pdev_srm_saved_conf
-{
- struct pdev_srm_saved_conf *next;
- struct pci_dev *dev;
-};
-
extern void pci_restore_srm_config(void);
#else
-#define pdev_save_srm_config(dev) do {} while (0)
#define pci_restore_srm_config() do {} while (0)
#endif