mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 14:05:19 +08:00
2e41e5fe88
make C=1: arch/arm/mach-shmobile/timer.c:38:13: warning: symbol 'shmobile_init_delay' was not declared. Should it be static? arch/arm/mach-shmobile/suspend.c:37:29: warning: symbol 'shmobile_suspend_ops' was not declared. Should it be static? arch/arm/mach-shmobile/suspend.c:44:12: warning: symbol 'shmobile_suspend_init' was not declared. Should it be static? arch/arm/mach-shmobile/cpufreq.c:13:12: warning: symbol 'shmobile_cpufreq_init' was not declared. Should it be static? Include "common.h" to fix these. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
20 lines
435 B
C
20 lines
435 B
C
/*
|
|
* CPUFreq support code for SH-Mobile ARM
|
|
*
|
|
* Copyright (C) 2014 Gaku Inami
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*/
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
#include "common.h"
|
|
|
|
int __init shmobile_cpufreq_init(void)
|
|
{
|
|
platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
|
|
return 0;
|
|
}
|