soc: actions: include header to fix missing prototype
diff mbox series

Message ID 20200920202652.11469-1-krzk@kernel.org
State Accepted
Commit bc38325703ebd0a00fecfb965020c255ffc582fe
Headers show
Series
  • soc: actions: include header to fix missing prototype
Related show

Commit Message

Krzysztof Kozlowski Sept. 20, 2020, 8:26 p.m. UTC
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 <krzk@kernel.org>
---
 drivers/soc/actions/owl-sps-helper.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Manivannan Sadhasivam Sept. 22, 2020, 6:29 a.m. UTC | #1
On Sun, Sep 20, 2020 at 10:26:52PM +0200, Krzysztof Kozlowski wrote:
> 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 <krzk@kernel.org>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Thanks,
Mani

> ---
>  drivers/soc/actions/owl-sps-helper.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/soc/actions/owl-sps-helper.c b/drivers/soc/actions/owl-sps-helper.c
> index 291a206d6f04..e3f36603dd53 100644
> --- a/drivers/soc/actions/owl-sps-helper.c
> +++ b/drivers/soc/actions/owl-sps-helper.c
> @@ -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
>  
> -- 
> 2.17.1
>

Patch
diff mbox series

diff --git a/drivers/soc/actions/owl-sps-helper.c b/drivers/soc/actions/owl-sps-helper.c
index 291a206d6f04..e3f36603dd53 100644
--- a/drivers/soc/actions/owl-sps-helper.c
+++ b/drivers/soc/actions/owl-sps-helper.c
@@ -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