diff --git a/drivers/pci/pci_qemu_test.c b/drivers/pci/pci_qemu_test.c index e2ce0972a3..c2f07103a7 100644 --- a/drivers/pci/pci_qemu_test.c +++ b/drivers/pci/pci_qemu_test.c @@ -319,6 +319,10 @@ static int pci_qemu_test_probe(FAR struct pci_device_s *dev) { ops = &g_pci_qemu_test_io_ops; } + else + { + PANIC(); + } for (test_cnt = 0; test_cnt < 0xff; test_cnt++) {