Libpci < 2.2.4 can not store class info in struct pci_dev

Read class info manually and store it in a separate variable.

Corresponding to flashrom svn r1004.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
1 file changed