Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 133de121 authored by Axel Lin's avatar Axel Lin Committed by Dave Jones
Browse files

[CPUFREQ] s5pv210: make needlessly global symbols static



The following symbols are needlessly defined global:
  s5pv210_verify_speed
  s5pv210_getspeed

Make them static.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 2f0d6f20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ static void s5pv210_set_refresh(enum s5pv210_dmc_port ch, unsigned long freq)
	__raw_writel(tmp1, reg);
}

int s5pv210_verify_speed(struct cpufreq_policy *policy)
static int s5pv210_verify_speed(struct cpufreq_policy *policy)
{
	if (policy->cpu)
		return -EINVAL;
@@ -182,7 +182,7 @@ int s5pv210_verify_speed(struct cpufreq_policy *policy)
	return cpufreq_frequency_table_verify(policy, s5pv210_freq_table);
}

unsigned int s5pv210_getspeed(unsigned int cpu)
static unsigned int s5pv210_getspeed(unsigned int cpu)
{
	if (cpu)
		return 0;