summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorYifeng Zhao <zyf@rock-chips.com>2018-05-08 09:26:14 +0800
committerTao Huang <huangtao@rock-chips.com>2018-05-08 14:20:56 +0800
commit0cc779eb7eb2d10475e38714fca663c51c46ec9d (patch)
tree7219d6044f2bb13089376e7e38c60aa1f3a32ff8 /drivers/soc
parent8b2f70a7d4bd7c10db32cc5c0a09b6f5d5ea6990 (diff)
soc: rockchip: vendor storage: include rk_vendor_storage.h
Fix the following warning(s): drivers/soc/rockchip/rk_vendor_storage.c:15:5: warning: no previous prototype for ‘rk_vendor_read’ [-Wmissing-prototypes] drivers/soc/rockchip/rk_vendor_storage.c:23:5: warning: no previous prototype for ‘rk_vendor_write’ [-Wmissing-prototypes] drivers/soc/rockchip/rk_vendor_storage.c:31:5: warning: no previous prototype for ‘rk_vendor_register’ [-Wmissing-prototypes] drivers/soc/rockchip/rk_vendor_storage.c:42:6: warning: no previous prototype for ‘is_rk_vendor_ready’ [-Wmissing-prototype Change-Id: Ia264c96adac27ff1e639532b7bdfde464f54e637 Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/rockchip/rk_vendor_storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/rockchip/rk_vendor_storage.c b/drivers/soc/rockchip/rk_vendor_storage.c
index 0ff5a09b4fbf..0d1dc5241a40 100644
--- a/drivers/soc/rockchip/rk_vendor_storage.c
+++ b/drivers/soc/rockchip/rk_vendor_storage.c
@@ -8,6 +8,7 @@
*/
#include <linux/kernel.h>
+#include <linux/soc/rockchip/rk_vendor_storage.h>
int (*_vendor_read)(u32 id, void *pbuf, u32 size) = NULL;
int (*_vendor_write)(u32 id, void *pbuf, u32 size) = NULL;