Skip to content

Commit

Permalink
PCI: Drop duplicate const in DECLARE_PCI_FIXUP_SECTION
Browse files Browse the repository at this point in the history
It's redundant and makes sparse complain about it.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Mathias Krause authored and Bjorn Helgaas committed Sep 11, 2012
1 parent 67de07a commit 769ae54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ enum pci_fixup_pass {
/* Anonymous variables would be nice... */
#define DECLARE_PCI_FIXUP_SECTION(section, name, vendor, device, class, \
class_shift, hook) \
static const struct pci_fixup const __pci_fixup_##name __used \
static const struct pci_fixup __pci_fixup_##name __used \
__attribute__((__section__(#section), aligned((sizeof(void *))))) \
= { vendor, device, class, class_shift, hook };

Expand Down

0 comments on commit 769ae54

Please sign in to comment.