mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
firmware: imx: sm-misc: Make scmi_imx_misc_ctrl_nb variable static
File-scope 'scmi_imx_misc_ctrl_nb' is not used outside of this unit, so make it static to silence sparse warning: sm-misc.c:19:23: warning: symbol 'scmi_imx_misc_ctrl_nb' was not declared. Should it be static? Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
parent
254f49634e
commit
2430f2080f
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
static const struct scmi_imx_misc_proto_ops *imx_misc_ctrl_ops;
|
||||
static struct scmi_protocol_handle *ph;
|
||||
struct notifier_block scmi_imx_misc_ctrl_nb;
|
||||
static struct notifier_block scmi_imx_misc_ctrl_nb;
|
||||
|
||||
int scmi_imx_misc_ctrl_set(u32 id, u32 val)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user