Avoid missing initializer warning

Use an empty {} as the terminator in intel_device_match[] to avoid
the warning about missing initlizers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä 2019-03-03 19:49:33 +02:00
parent 4b26ec2ef6
commit 696f7eda80
2 changed files with 1 additions and 2 deletions

View File

@ -388,7 +388,7 @@ static const struct pci_id_match intel_device_match[] = {
INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info),
#endif
{ 0, 0, 0 },
{},
};
void

View File

@ -150,7 +150,6 @@ shared_module('intel_drv',
'-DMAJOR_IN_SYSMACROS',
'-Wno-unused-parameter',
'-Wno-sign-compare',
'-Wno-missing-field-initializers',
],
name_prefix : '',
install_dir : join_paths(moduledir, 'drivers'),