Commit f36bb6ca authored by Bruce Allan's avatar Bruce Allan Committed by Jeff Kirsher

e1000e: add missing initializers reported when compiling with W=1

warning: missing initializer
Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b04e36ba
...@@ -137,7 +137,7 @@ static const struct e1000_reg_info e1000_reg_info_tbl[] = { ...@@ -137,7 +137,7 @@ static const struct e1000_reg_info e1000_reg_info_tbl[] = {
{E1000_TDFPC, "TDFPC"}, {E1000_TDFPC, "TDFPC"},
/* List Terminator */ /* List Terminator */
{} {0, NULL}
}; };
/* /*
...@@ -6502,7 +6502,7 @@ static DEFINE_PCI_DEVICE_TABLE(e1000_pci_tbl) = { ...@@ -6502,7 +6502,7 @@ static DEFINE_PCI_DEVICE_TABLE(e1000_pci_tbl) = {
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH2_LV_LM), board_pch2lan }, { PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH2_LV_LM), board_pch2lan },
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH2_LV_V), board_pch2lan }, { PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH2_LV_V), board_pch2lan },
{ } /* terminate list */ { 0, 0, 0, 0, 0, 0, 0 } /* terminate list */
}; };
MODULE_DEVICE_TABLE(pci, e1000_pci_tbl); MODULE_DEVICE_TABLE(pci, e1000_pci_tbl);
...@@ -6521,7 +6521,9 @@ static struct pci_driver e1000_driver = { ...@@ -6521,7 +6521,9 @@ static struct pci_driver e1000_driver = {
.probe = e1000_probe, .probe = e1000_probe,
.remove = __devexit_p(e1000_remove), .remove = __devexit_p(e1000_remove),
#ifdef CONFIG_PM #ifdef CONFIG_PM
.driver.pm = &e1000_pm_ops, .driver = {
.pm = &e1000_pm_ops,
},
#endif #endif
.shutdown = e1000_shutdown, .shutdown = e1000_shutdown,
.err_handler = &e1000_err_handler .err_handler = &e1000_err_handler
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment