aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2012-09-02 17:37:24 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-09-10 20:06:30 -0400
commit769ae543dc8d5745e1ade88cbcf1271a96276fd2 (patch)
treedfe49ee8a6064ad7effd4fdbcf2fc22cb1ebf71b /include/linux/pci.h
parent67de07a77eed3970c39653a0e4d636b46ddfd83a (diff)
PCI: Drop duplicate const in DECLARE_PCI_FIXUP_SECTION
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>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 5faa8310eec9..aee24a8bc09a 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1472,7 +1472,7 @@ enum pci_fixup_pass {
1472/* Anonymous variables would be nice... */ 1472/* Anonymous variables would be nice... */
1473#define DECLARE_PCI_FIXUP_SECTION(section, name, vendor, device, class, \ 1473#define DECLARE_PCI_FIXUP_SECTION(section, name, vendor, device, class, \
1474 class_shift, hook) \ 1474 class_shift, hook) \
1475 static const struct pci_fixup const __pci_fixup_##name __used \ 1475 static const struct pci_fixup __pci_fixup_##name __used \
1476 __attribute__((__section__(#section), aligned((sizeof(void *))))) \ 1476 __attribute__((__section__(#section), aligned((sizeof(void *))))) \
1477 = { vendor, device, class, class_shift, hook }; 1477 = { vendor, device, class, class_shift, hook };
1478 1478