qat: fix probing
authorDeepak Kumar Jain <deepak.k.jain@intel.com>
Tue, 21 Jun 2016 09:03:41 +0000 (10:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 21 Jun 2016 13:33:42 +0000 (15:33 +0200)
commit58a4037046ab182009f738a10fc4ae27542bd32c
tree29756c490028eb4ad302e8a7dcac45342dd198fb
parent913154efa7ffb9f71bcf51d16b2043ccba6c5be7
qat: fix probing

The class id is not filled and makes probing to fail.
Updated the code to use RTE_PCI_DEVICE which fills
the class id with a wildcard value.

Fixes: 701c8d80c820 ("pci: support class id probing")

Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
drivers/crypto/qat/rte_qat_cryptodev.c