diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 11:20:03 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 11:26:01 -0600 |
commit | 9738abedd6721926dfb25fe6912be207b7168d03 (patch) | |
tree | 4bba4e723a8b8665436ac9f5f0ef6c6548b283e1 /drivers/pci/msi.c | |
parent | 139f925126cc31b925484b2bc2cd0b0357c2bbd6 (diff) | |
download | op-kernel-dev-9738abedd6721926dfb25fe6912be207b7168d03.zip op-kernel-dev-9738abedd6721926dfb25fe6912be207b7168d03.tar.gz |
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); |