app/test: use linked list to store PCI drivers
authorJan Viktorin <viktorin@rehivetech.com>
Mon, 13 Jun 2016 15:07:41 +0000 (17:07 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Jun 2016 18:57:15 +0000 (20:57 +0200)
commit56a6e9c457bdf4c1624d8da3e490f3e060bbafba
tree0df51513ee69af7d937cf2d87e686f81fde353b6
parent66819e6c11d86f3549018d057b46f094d92e8638
app/test: use linked list to store PCI drivers

The test unregisters all drivers before start. The drivers were stored
into a fixed-sized array. This is inflexible. This patch change this to
utilize a linked list for the same purpose.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
app/test/test_pci.c