Skip to contentSkip to conversation

soc: actions: include header to fix missing prototype

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Sep 20, 2020 – Sep 22, 2020 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

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]

---
 drivers/soc/actions/owl-sps-helper.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/actions/owl-sps-helper.c +1 -0
index 291a206d6f04..e3f36603dd53 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Krzysztof Kozlowski

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]

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
index 291a206d6f04..e3f36603dd53 100644
@@ -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