diff --git a/drivers/cpufreq/ft2004-cpufreq.c b/drivers/cpufreq/ft2004-cpufreq.c index c1922f270..e557ddaae 100644 --- a/drivers/cpufreq/ft2004-cpufreq.c +++ b/drivers/cpufreq/ft2004-cpufreq.c @@ -153,12 +153,12 @@ static struct cpufreq_driver ft2004_freq_driver = { .attr = cpufreq_generic_attr, }; -extern bool cpu_is_phytium(void); +extern bool cpu_is_ft2004(void); static int __init ft2004_freq_init(void) { int ret; - if (!cpu_is_phytium()) { + if (!cpu_is_ft2004()) { return -EPERM; } @@ -183,7 +183,7 @@ static void __exit ft2004_freq_exit(void) { int i; - if (!cpu_is_phytium()) { + if (!cpu_is_ft2004()) { return; }