drivers: pci: struct pci_dev_info rename class

Rename class in pci_dev_info struct to allow to use C++ compilers.
Updated drivers to use new struct.

Change-Id: I17b94cb7bc094bccd615c8389a28589bfa90cab8
Signed-off-by: Javier B Perez Hernandez <javier.b.perez.hernandez@linux.intel.com>
This commit is contained in:
Javier B Perez Hernandez 2015-12-29 16:34:58 -06:00 committed by Anas Nashif
commit 02812f4635
9 changed files with 20 additions and 20 deletions

View file

@ -44,7 +44,7 @@ struct pci_dev_info {
uint32_t dev:5;
uint32_t function:4;
uint32_t mem_type:1; /* memory type: BAR_SPACE_MEM/BAR_SPACE_IO */
uint32_t class:8;
uint32_t class_type:8;
uint32_t bar:3;
uint32_t _reserved:3;