diff options
author | Joel Stanley <joel@jms.id.au> | 2018-05-04 11:40:34 +0930 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-05-04 03:25:04 -0500 |
commit | 4216f2fb7b3118385a9d701c4ade4996c83aba0b (patch) | |
tree | c5fb52441b5b1b30a47007f92d2d7f17f7b86d06 /core | |
parent | 1a79069cfdfac4439189df4080534a31cdb10e7e (diff) | |
download | skiboot-4216f2fb7b3118385a9d701c4ade4996c83aba0b.zip skiboot-4216f2fb7b3118385a9d701c4ade4996c83aba0b.tar.gz skiboot-4216f2fb7b3118385a9d701c4ade4996c83aba0b.tar.bz2 |
pci-quirk: Fix initiliser warning
core/pci-quirk.c:70:7: warning: missing field 'vendor_id' initializer
[-Wmissing-field-initializers]
{NULL}
^
Instead use an empty initaliser, as this is what the kernel does.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/pci-quirk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pci-quirk.c b/core/pci-quirk.c index 0153bdb..04cbf8e 100644 --- a/core/pci-quirk.c +++ b/core/pci-quirk.c @@ -67,7 +67,7 @@ static void quirk_astbmc_vga(struct phb *phb __unused, static const struct pci_quirk quirk_table[] = { /* ASPEED 2400 VGA device */ { &quirk_astbmc_vga, 0x1a03, 0x2000 }, - {NULL} + { NULL, 0, 0 } }; void pci_handle_quirk(struct phb *phb, struct pci_device *pd) |