summaryrefslogtreecommitdiff
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2025-08-25 15:00:32 +0800
committerShawn Guo <shawnguo@kernel.org>2025-09-11 09:59:08 +0800
commit222accf05fc42f68ae02065d9c1542c20315118b (patch)
treec5209920b7977ae98a525cebff0ee71182de7f54 /rust/helpers/build_assert.c
parent3fb91b5c86d0fb5ff6f65c30a4f20193166e22fe (diff)
firmware: imx: Add stub functions for SCMI CPU API
To ensure successful builds when CONFIG_IMX_SCMI_CPU_DRV is not enabled, this patch adds static inline stub implementations for the following functions: - scmi_imx_cpu_start() - scmi_imx_cpu_started() - scmi_imx_cpu_reset_vector_set() These stubs return -EOPNOTSUPP to indicate that the functionality is not supported in the current configuration. This avoids potential build or link errors in code that conditionally calls these functions based on feature availability. Fixes: 1055faa5d660 ("firmware: imx: Add i.MX95 SCMI CPU driver") Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions