1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __SOC_ROCKCHIP_PVTM_H 3 #define __SOC_ROCKCHIP_PVTM_H 4 5 #if IS_ENABLED(CONFIG_ROCKCHIP_PVTM) 6 u32 rockchip_get_pvtm_value(unsigned int id, unsigned int ring_sel, 7 unsigned int time_us); 8 #else rockchip_get_pvtm_value(unsigned int id,unsigned int ring_sel,unsigned int time_us)9static inline u32 rockchip_get_pvtm_value(unsigned int id, 10 unsigned int ring_sel, 11 unsigned int time_us) 12 { 13 return 0; 14 } 15 #endif 16 17 #endif /* __SOC_ROCKCHIP_PVTM_H */ 18