]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI: Drop duplicate const in DECLARE_PCI_FIXUP_SECTION
authorMathias Krause <minipli@googlemail.com>
Sun, 2 Sep 2012 21:37:24 +0000 (23:37 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Sep 2012 00:06:30 +0000 (18:06 -0600)
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>
include/linux/pci.h

index 5faa8310eec9ea02df6618345eb299cdee74d26b..aee24a8bc09a4e901fdb2980630404707c198c47 100644 (file)
@@ -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 };