net/mlx5_en: Add missing check for memory allocation failure
[deliverable/linux.git] / drivers / net / ethernet / smsc / smsc9420.c
index d3b967aff9e006ab771a1218bb643f2756f5076d..4a90cdae5444fa36c54fc1fcd7f0e2158e346404 100644 (file)
@@ -83,7 +83,7 @@ struct smsc9420_pdata {
        int last_carrier;
 };
 
-static DEFINE_PCI_DEVICE_TABLE(smsc9420_id_table) = {
+static const struct pci_device_id smsc9420_id_table[] = {
        { PCI_VENDOR_ID_9420, PCI_DEVICE_ID_9420, PCI_ANY_ID, PCI_ANY_ID, },
        { 0, }
 };
This page took 0.032432 seconds and 5 git commands to generate.