diff options
Diffstat (limited to 'core/pldm/pldm-mctp.c')
-rw-r--r-- | core/pldm/pldm-mctp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/pldm/pldm-mctp.c b/core/pldm/pldm-mctp.c index 6003b66..b31587f 100644 --- a/core/pldm/pldm-mctp.c +++ b/core/pldm/pldm-mctp.c @@ -74,7 +74,7 @@ out: int pldm_mctp_init(void) { - int nbr_elt = 6, rc = OPAL_SUCCESS; + int nbr_elt = 7, rc = OPAL_SUCCESS; int (*pldm_config[])(void) = { ast_mctp_init, /* MCTP Binding */ @@ -83,6 +83,7 @@ int pldm_mctp_init(void) pldm_base_get_tid_req, /* Get BMC tid */ pldm_platform_init, /* Get PDRs data */ pldm_bios_init, /* Get Bios data */ + pldm_fru_init, /* Get Fru data */ }; const char *pldm_config_error[] = { @@ -92,6 +93,7 @@ int pldm_mctp_init(void) "Failed to retrieve BMC Tid", "Failed to retrieve Data Records", "Failed to retrieve Bios data", + "Failed to retrieve Fru data", }; prlog(PR_NOTICE, "%s - Getting PLDM data\n", __func__); |