aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-12 11:20:03 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-04-12 11:26:01 -0600
commit9738abedd6721926dfb25fe6912be207b7168d03 (patch)
tree4bba4e723a8b8665436ac9f5f0ef6c6548b283e1 /drivers/pci/msi.c
parentPCI: Fix missing prototype for pcie_port_acpi_setup() (diff)
downloadlinux-dev-9738abedd6721926dfb25fe6912be207b7168d03.tar.xz
linux-dev-9738abedd6721926dfb25fe6912be207b7168d03.zip
PCI: Make local functions/structs static
This fixes "no previous prototype" warnings found via "make W=1". Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/msi.c')
-rw-r--r--drivers/pci/msi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index 00cc78c7aa04..bbff7d5a9b35 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -484,12 +484,12 @@ static struct msi_attribute mode_attribute =
__ATTR(mode, S_IRUGO, show_msi_mode, NULL);
-struct attribute *msi_irq_default_attrs[] = {
+static struct attribute *msi_irq_default_attrs[] = {
&mode_attribute.attr,
NULL
};
-void msi_kobj_release(struct kobject *kobj)
+static void msi_kobj_release(struct kobject *kobj)
{
struct msi_desc *entry = to_msi_desc(kobj);