diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-19 14:54:49 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-20 18:44:35 +0200 |
commit | d6d88c832eaea6c6947ddf7b664601930a9f8a14 (patch) | |
tree | 8ddfebda7b16c562f13efce9efa2a3f74e85d884 /drivers/pci/pci-sysfs.c | |
parent | PCI: cleanup assign_requested_resources_sorted() kernel-doc warning (diff) | |
download | linux-d6d88c832eaea6c6947ddf7b664601930a9f8a14.tar.xz linux-d6d88c832eaea6c6947ddf7b664601930a9f8a14.zip |
PCI: use __weak consistently
Use "__weak" instead of the gcc-specific "__attribute__ ((weak))"
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
-rw-r--r-- | drivers/pci/pci-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c index 86c63fe45d11..a0b435f20bd6 100644 --- a/drivers/pci/pci-sysfs.c +++ b/drivers/pci/pci-sysfs.c @@ -1112,7 +1112,7 @@ static struct bin_attribute pcie_config_attr = { .write = pci_write_config, }; -int __attribute__ ((weak)) pcibios_add_platform_entries(struct pci_dev *dev) +int __weak pcibios_add_platform_entries(struct pci_dev *dev) { return 0; } |