aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/cpufreq.c')
-rw-r--r--arch/arm/mach-shmobile/cpufreq.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/cpufreq.c b/arch/arm/mach-shmobile/cpufreq.c
new file mode 100644
index 000000000000..8a24b2be46ae
--- /dev/null
+++ b/arch/arm/mach-shmobile/cpufreq.c
@@ -0,0 +1,17 @@
+/*
+ * 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>
+
+int __init shmobile_cpufreq_init(void)
+{
+ platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0);
+ return 0;
+}