Browse Source

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>
Mathias Krause 13 years ago
parent
commit
769ae543dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/pci.h

+ 1 - 1
include/linux/pci.h

@@ -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 };