blob: 32c7341c3ecec0e318f027467343146f71c8fe61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __SOC_ROCKCHIP_PVTM_H
#define __SOC_ROCKCHIP_PVTM_H
#ifdef CONFIG_ROCKCHIP_PVTM
u32 rockchip_get_pvtm_value(unsigned int ch, unsigned int sub_ch,
unsigned int time_us);
#else
static inline u32 rockchip_get_pvtm_value(unsigned int ch, unsigned int sub_ch,
unsigned int time_us)
{
return 0;
}
#endif
#endif /* __SOC_ROCKCHIP_PVTM_H */
|