mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 02:20:19 +03:00
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
This commit is contained in:
@@ -235,7 +235,7 @@ static struct pci_id mt25218_nics[] = {
|
||||
PCI_ROM(0x15b3, 0x6274, "MT25204", "MT25204 HCA driver"),
|
||||
};
|
||||
|
||||
static struct pci_driver mt25218_driver __pci_driver = {
|
||||
struct pci_driver mt25218_driver __pci_driver = {
|
||||
.type = NIC_DRIVER,
|
||||
.name = "MT25218",
|
||||
.probe = mt25218_probe,
|
||||
|
||||
Reference in New Issue
Block a user