Like other device id tables across tree, the last element is expected to
be zeroed to act as sentinel. Fix the omission.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 drivers/video/bochs/bochs_pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/bochs/bochs_pci.c b/drivers/video/bochs/bochs_pci.c
index 28785e1c0667..39c4d1b662ab 100644
--- a/drivers/video/bochs/bochs_pci.c
+++ b/drivers/video/bochs/bochs_pci.c
@@ -27,6 +27,7 @@ static int bochs_pci_probe(struct pci_dev *pdev, const struct 
pci_device_id *ent
 static DEFINE_PCI_DEVICE_TABLE(bochs_pci_tbl) = {
        /* https://github.com/qemu/qemu/blob/master/docs/specs/standard-vga.txt 
*/
        { PCI_DEVICE(0x1234, 0x1111) },
+       { },
 };
 
 static struct pci_driver bochs_pci_driver = {
-- 
2.30.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to