Update 2 typedef struct to make them compatible C and C++

This commit is contained in:
jief 2019-12-20 15:55:39 +01:00
parent 38204b0b4c
commit 926ecc8d9b

View File

@ -56,20 +56,19 @@ extern CHAR8* gDeviceProperties;
//BOOLEAN setup_nvidia_devprop(pci_dt_t *nvda_dev);
struct nvidia_pci_info_t;
typedef struct {
typedef struct nvidia_pci_info_t
{
UINT32 device; // VendorID + DeviceID
CHAR8 *name_model;
} nvidia_pci_info_t;
struct nvidia_card_info_t;
typedef struct
typedef struct nvidia_card_info_t
{
UINT32 device; // VendorID + DeviceID
UINT32 subdev; // SubdeviceID + SubvendorID
CHAR8 *name_model;
UINT8 *custom_NVCAP;
}nvidia_card_info_t;
} nvidia_card_info_t;
#define DCB_MAX_NUM_ENTRIES 16
#define DCB_MAX_NUM_I2C_ENTRIES 16