soc: actions: include header to fix missing prototype
PATCH 1/1 soc: actions: include header to fix missing prototype
Include the header with prototype of owl_sps_set_pg to fix:
drivers/soc/actions/owl-sps-helper.c:16:5: warning: no previous prototype for 'owl_sps_set_pg' [-Wmissing-prototypes]
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- drivers/soc/actions/owl-sps-helper.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/actions/owl-sps-helper.c +1 -0
@@ -10,6 +10,7 @@#include <linux/delay.h> #include <linux/io.h> +#include <linux/soc/actions/owl-sps.h> #define OWL_SPS_PG_CTL 0x0
Signature · 1 line
2.17.1
Quoted 5 lines · Krzysztof Kozlowski
Include the header with prototype of
owl_sps_set_pgto fix:
drivers/soc/actions/owl-sps-helper.c:16:5: warning: no previous prototype for 'owl_sps_set_pg' [-Wmissing-prototypes]Signed-off-by Krzysztof Kozlowski <[email protected]>
Reviewed-by Manivannan Sadhasivam <[email protected]>
Thanks,
Mani
Quoted 19 lines
--- drivers/soc/actions/owl-sps-helper.c | 1 + 1 file changed, 1 insertion(+)drivers/soc/actions/owl-sps-helper.c +1
-0@@ -10,6 +10,7 @@#include <linux/delay.h> #include <linux/io.h> +#include <linux/soc/actions/owl-sps.h> #define OWL_SPS_PG_CTL 0x0Signature · 1 line
2.17.1