pm.c (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) | pm.c (bbcf071969b20f356877c8067986be0a2dcaa2aa) |
---|---|
1/* 2 * pm.c - Common OMAP2+ power management-related code 3 * 4 * Copyright (C) 2010 Texas Instruments, Inc. 5 * Copyright (C) 2010 Nokia Corporation 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 268 unchanged lines hidden (view full) --- 277 278static inline void omap_init_cpufreq(void) 279{ 280 struct platform_device_info devinfo = { }; 281 282 if (!of_have_populated_dt()) 283 devinfo.name = "omap-cpufreq"; 284 else | 1/* 2 * pm.c - Common OMAP2+ power management-related code 3 * 4 * Copyright (C) 2010 Texas Instruments, Inc. 5 * Copyright (C) 2010 Nokia Corporation 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 268 unchanged lines hidden (view full) --- 277 278static inline void omap_init_cpufreq(void) 279{ 280 struct platform_device_info devinfo = { }; 281 282 if (!of_have_populated_dt()) 283 devinfo.name = "omap-cpufreq"; 284 else |
285 devinfo.name = "cpufreq-cpu0"; | 285 devinfo.name = "cpufreq-dt"; |
286 platform_device_register_full(&devinfo); 287} 288 289static int __init omap2_common_pm_init(void) 290{ 291 if (!of_have_populated_dt()) 292 omap2_init_processor_devices(); 293 omap_pm_if_init(); --- 28 unchanged lines hidden --- | 286 platform_device_register_full(&devinfo); 287} 288 289static int __init omap2_common_pm_init(void) 290{ 291 if (!of_have_populated_dt()) 292 omap2_init_processor_devices(); 293 omap_pm_if_init(); --- 28 unchanged lines hidden --- |