|
@@ -1067,7 +1067,7 @@ enum pci_fixup_pass {
|
|
|
|
|
|
/* Anonymous variables would be nice... */
|
|
|
#define DECLARE_PCI_FIXUP_SECTION(section, name, vendor, device, hook) \
|
|
|
- static struct pci_fixup __pci_fixup_##name __attribute_used__ \
|
|
|
+ static const struct pci_fixup __pci_fixup_##name __attribute_used__ \
|
|
|
__attribute__((__section__(#section))) = { vendor, device, hook };
|
|
|
#define DECLARE_PCI_FIXUP_EARLY(vendor, device, hook) \
|
|
|
DECLARE_PCI_FIXUP_SECTION(.pci_fixup_early, \
|