Commit 696f7eda authored by Ville Syrjälä's avatar Ville Syrjälä

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ä's avatarVille Syrjälä <ville.syrjala@linux.intel.com>
parent 4b26ec2e
......@@ -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
......
......@@ -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'),
......
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