lkml.org 
[lkml]   [2020]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] soc: actions: include header to fix missing prototype
Date
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(+)

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
\
 
 \ /
  Last update: 2020-09-20 22:27    [W:0.043 / U:2.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site