diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-05-20 09:57:17 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-05-22 12:43:33 +0200 |
commit | 9076eaca60b3796b3b97d1914c4924c4bc39f066 (patch) | |
tree | ab78af2dc3dd37150b7d98c42ac9f50250070551 /fs/ecryptfs | |
parent | 92a9b5c291c72aa9899021699458f0b6e328b940 (diff) | |
download | op-kernel-dev-9076eaca60b3796b3b97d1914c4924c4bc39f066.zip op-kernel-dev-9076eaca60b3796b3b97d1914c4924c4bc39f066.tar.gz |
cpufreq: arm_big_little_dt: Instantiate as platform_driver
As multiplatform build is being adopted by more and more ARM platforms, initcall
function should be used very carefully. For example, when both arm_big_little_dt
and cpufreq-cpu0 drivers are compiled in, arm_big_little_dt driver may try to
register even if we had platform device for cpufreq-cpu0 registered.
To eliminate this undesired the effect, the patch changes arm_big_little_dt
driver to have it instantiated as a platform_driver. Then it will only run on
platforms that create the platform_device "arm-bL-cpufreq-dt".
Reported-and-tested-by: Rob Herring <robherring2@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions