diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 17:20:03 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 17:26:01 (GMT) |
commit | 9738abedd6721926dfb25fe6912be207b7168d03 (patch) | |
tree | 4bba4e723a8b8665436ac9f5f0ef6c6548b283e1 /drivers/pci/msi.c | |
parent | 139f925126cc31b925484b2bc2cd0b0357c2bbd6 (diff) | |
download | linux-9738abedd6721926dfb25fe6912be207b7168d03.tar.xz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 00cc78c7..bbff7d5 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); |