aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/hotplug/cpqphp_nvram.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-12 12:02:59 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-04-17 10:21:17 -0600
commitf39d5b72913e2a9ff00ba5ab145ee05a888b1286 (patch)
treebf037ca60a3724a7636166093b4b2ede4aeaf464 /drivers/pci/hotplug/cpqphp_nvram.h
parentPCI: Warn about failures instead of "must_check" functions (diff)
downloadwireguard-linux-f39d5b72913e2a9ff00ba5ab145ee05a888b1286.tar.xz
wireguard-linux-f39d5b72913e2a9ff00ba5ab145ee05a888b1286.zip
PCI: Remove "extern" from function declarations
We had an inconsistent mix of using and omitting the "extern" keyword on function declarations in header files. This removes them all. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_nvram.h')
-rw-r--r--drivers/pci/hotplug/cpqphp_nvram.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pci/hotplug/cpqphp_nvram.h b/drivers/pci/hotplug/cpqphp_nvram.h
index e89c0702119d..34e4e54fcf15 100644
--- a/drivers/pci/hotplug/cpqphp_nvram.h
+++ b/drivers/pci/hotplug/cpqphp_nvram.h
@@ -30,26 +30,26 @@
#ifndef CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM
-static inline void compaq_nvram_init (void __iomem *rom_start)
+static inline void compaq_nvram_init(void __iomem *rom_start)
{
return;
}
-static inline int compaq_nvram_load (void __iomem *rom_start, struct controller *ctrl)
+static inline int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl)
{
return 0;
}
-static inline int compaq_nvram_store (void __iomem *rom_start)
+static inline int compaq_nvram_store(void __iomem *rom_start)
{
return 0;
}
#else
-extern void compaq_nvram_init (void __iomem *rom_start);
-extern int compaq_nvram_load (void __iomem *rom_start, struct controller *ctrl);
-extern int compaq_nvram_store (void __iomem *rom_start);
+void compaq_nvram_init(void __iomem *rom_start);
+int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl);
+int compaq_nvram_store(void __iomem *rom_start);
#endif