aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-zynq/common.c')
-rw-r--r--arch/arm/mach-zynq/common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c
index dca60d5ba756..6fcc584c1a11 100644
--- a/arch/arm/mach-zynq/common.c
+++ b/arch/arm/mach-zynq/common.c
@@ -65,6 +65,8 @@ static struct platform_device zynq_cpuidle_device = {
65 */ 65 */
66static void __init zynq_init_machine(void) 66static void __init zynq_init_machine(void)
67{ 67{
68 struct platform_device_info devinfo = { .name = "cpufreq-cpu0", };
69
68 /* 70 /*
69 * 64KB way size, 8-way associativity, parity disabled 71 * 64KB way size, 8-way associativity, parity disabled
70 */ 72 */
@@ -73,6 +75,7 @@ static void __init zynq_init_machine(void)
73 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 75 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
74 76
75 platform_device_register(&zynq_cpuidle_device); 77 platform_device_register(&zynq_cpuidle_device);
78 platform_device_register_full(&devinfo);
76 79
77 zynq_slcr_init(); 80 zynq_slcr_init();
78} 81}