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:
parent
fdf494fa46
commit
02812f4635
9 changed files with 20 additions and 20 deletions
|
@ -712,7 +712,7 @@ struct i2c_dw_rom_config i2c_config_dw_0 = {
|
|||
#endif
|
||||
|
||||
#if CONFIG_PCI
|
||||
.pci_dev.class = CONFIG_I2C_DW_CLASS,
|
||||
.pci_dev.class_type = CONFIG_I2C_DW_CLASS,
|
||||
.pci_dev.bus = CONFIG_I2C_DW_0_BUS,
|
||||
.pci_dev.dev = CONFIG_I2C_DW_0_DEV,
|
||||
.pci_dev.vendor_id = CONFIG_I2C_DW_VENDOR_ID,
|
||||
|
@ -774,7 +774,7 @@ struct i2c_dw_rom_config i2c_config_dw_1 = {
|
|||
.config_func = i2c_config_1,
|
||||
|
||||
#if CONFIG_PCI
|
||||
.pci_dev.class = CONFIG_I2C_DW_CLASS,
|
||||
.pci_dev.class_type = CONFIG_I2C_DW_CLASS,
|
||||
.pci_dev.bus = CONFIG_I2C_DW_1_BUS,
|
||||
.pci_dev.dev = CONFIG_I2C_DW_1_DEV,
|
||||
.pci_dev.vendor_id = CONFIG_I2C_DW_VENDOR_ID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue