forked from Mirrors/opensbi
lib: utils: Constantify mpxy_rpmi_mbox_data in mpxy_rpmi_mbox
The mpxy_rpmi_mbox_data is provided by RPMI service group specific MPXY driver to the common MPXY RPMI mailbox client implementation so let's constantify mpxy_rpmi_mbox_data in mpxy_rpmi_mbox so that it is not accidently modified. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
This commit is contained in:
@@ -69,7 +69,7 @@ static struct mpxy_rpmi_service_data clock_services[] = {
|
||||
},
|
||||
};
|
||||
|
||||
static struct mpxy_rpmi_mbox_data clock_data = {
|
||||
static const struct mpxy_rpmi_mbox_data clock_data = {
|
||||
.servicegrp_id = RPMI_SRVGRP_CLOCK,
|
||||
.num_services = RPMI_CLOCK_SRV_MAX_COUNT,
|
||||
.notifications_support = 1,
|
||||
|
Reference in New Issue
Block a user