Merge "drivers: soc: qcom_stats: Export function qcom_stats_ddr_freqsync_msg()"
This commit is contained in:
commit
754e1b878c
@ -287,7 +287,7 @@ static int qcom_stats_device_open(struct inode *inode, struct file *file)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int qcom_stats_ddr_freqsync_msg(void)
|
||||
int qcom_stats_ddr_freqsync_msg(void)
|
||||
{
|
||||
static const char buf[MAX_MSG_LEN] = "{class: ddr, action: freqsync}";
|
||||
int ret = 0;
|
||||
@ -309,6 +309,7 @@ static int qcom_stats_ddr_freqsync_msg(void)
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(qcom_stats_ddr_freqsync_msg);
|
||||
|
||||
static int qcom_stats_ddr_freq_sync(int *modes, struct sleep_stats *stat)
|
||||
{
|
||||
|
@ -27,6 +27,7 @@ int ddr_stats_get_ss_count(void);
|
||||
int ddr_stats_get_ss_vote_info(int ss_count,
|
||||
struct ddr_stats_ss_vote_info *vote_info);
|
||||
|
||||
int qcom_stats_ddr_freqsync_msg(void);
|
||||
int ddr_stats_get_freq_count(void);
|
||||
int ddr_stats_get_residency(int freq_count, struct ddr_freq_residency *data);
|
||||
|
||||
@ -44,6 +45,8 @@ static inline int ddr_stats_get_ss_count(void)
|
||||
static inline int ddr_stats_get_ss_vote_info(int ss_count,
|
||||
struct ddr_stats_ss_vote_info *vote_info)
|
||||
{ return -ENODEV; }
|
||||
static inline int qcom_stats_ddr_freqsync_msg(void)
|
||||
{ return -ENODEV; }
|
||||
static inline int ddr_stats_get_freq_count(void)
|
||||
{ return -ENODEV; }
|
||||
int ddr_stats_get_residency(int freq_count, struct ddr_freq_residency *data)
|
||||
|
Loading…
Reference in New Issue
Block a user