summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2018-12-28 17:27:21 +0800
committerTao Huang <huangtao@rock-chips.com>2018-12-28 20:20:25 +0800
commitc1cf9c6b8dee64ac086e116477e5fec66592dec2 (patch)
treeda7a9a27a82845f9ff0307960991f49974c41645 /include
parentef9512730326fd6c10d405c59a8d38d3854e5955 (diff)
rockchip: sip: add static inline for sip_smc_lastlog_request()
Add static inline for sip_smc_lastlog_request() when CONFIG_ROCKCHIP_SIP is not enabled. Change-Id: I8fe46c36b115b4aa8a71a4101a7829e64aa08103 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/rockchip/rockchip_sip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rockchip/rockchip_sip.h b/include/linux/rockchip/rockchip_sip.h
index 3258eeda6e50..2f25be819f5d 100644
--- a/include/linux/rockchip/rockchip_sip.h
+++ b/include/linux/rockchip/rockchip_sip.h
@@ -180,7 +180,7 @@ sip_smc_vpu_reset(u32 arg0, u32 arg1, u32 arg2)
return tmp;
}
-struct arm_smccc_res sip_smc_lastlog_request(void)
+static inline struct arm_smccc_res sip_smc_lastlog_request(void)
{
struct arm_smccc_res tmp = {0};
return tmp;