diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-22 17:40:09 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-10-28 07:50:09 +0100 |
commit | e4f9eefbb8a976bb86dbdc9d2dd1a2a113801464 (patch) | |
tree | 86b65ff7d90c7874fd6345388e9b4d1729c94397 /drivers/firmware/imx | |
parent | firmware: imx: Remove call to devm_of_platform_populate (diff) | |
download | linux-e4f9eefbb8a976bb86dbdc9d2dd1a2a113801464.tar.xz linux-e4f9eefbb8a976bb86dbdc9d2dd1a2a113801464.zip |
firmware: imx: add missing include of <linux/firmware/imx/sci.h>
Include <linux/firmware/imx/sci.h> for the declarations of the
functions exported from this driver. This fixes the following
sparse warnings:
drivers/firmware/imx/imx-scu-irq.c:45:5: warning: symbol 'imx_scu_irq_register_notifier' was not declared. Should it be static?
drivers/firmware/imx/imx-scu-irq.c:52:5: warning: symbol 'imx_scu_irq_unregister_notifier' was not declared. Should it be static?
drivers/firmware/imx/imx-scu-irq.c:97:5: warning: symbol 'imx_scu_irq_group_enable' was not declared. Should it be static?
drivers/firmware/imx/imx-scu-irq.c:130:5: warning: symbol 'imx_scu_enable_general_irq_channel' was not declared. Should it be static?
Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/firmware/imx')
-rw-r--r-- | drivers/firmware/imx/imx-scu-irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/imx/imx-scu-irq.c b/drivers/firmware/imx/imx-scu-irq.c index 687121f8c4d5..db655e87cdc8 100644 --- a/drivers/firmware/imx/imx-scu-irq.c +++ b/drivers/firmware/imx/imx-scu-irq.c @@ -8,6 +8,7 @@ #include <dt-bindings/firmware/imx/rsrc.h> #include <linux/firmware/imx/ipc.h> +#include <linux/firmware/imx/sci.h> #include <linux/mailbox_client.h> #define IMX_SC_IRQ_FUNC_ENABLE 1 |