PCI: Use designated initialization in PCI_VDEVICE
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 31 Mar 2014 21:58:39 +0000 (14:58 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 24 Apr 2014 23:25:16 +0000 (17:25 -0600)
commitc1309040967e200d3ea6415ae54cf6a69d7ad996
tree386f3778bff0a55cc09db778d18852ce4f397bbb
parent7ee4910ab31c4b1fafb7e4f273cbe9340ac953aa
PCI: Use designated initialization in PCI_VDEVICE

By using designated initialization in PCI_VDEVICE, like other similar
macros, many "missing initializer" warnings that appear when compiling with
W=2 can be silenced.

Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci.h