mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
mailbox: stm32-ipcc: Staticize and constify driver ops
Set the ops structure as static const. The structure is not accessible from outside of this driver and is not going to be modified at runtime. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
@@ -147,7 +147,7 @@ static const struct udevice_id stm32_ipcc_ids[] = {
|
||||
{ }
|
||||
};
|
||||
|
||||
struct mbox_ops stm32_ipcc_mbox_ops = {
|
||||
static const struct mbox_ops stm32_ipcc_mbox_ops = {
|
||||
.request = stm32_ipcc_request,
|
||||
.rfree = stm32_ipcc_free,
|
||||
.send = stm32_ipcc_send,
|
||||
|
||||
Reference in New Issue
Block a user