diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-03-01 18:07:56 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:42:36 +0900 |
commit | 13dee98298f21e387c1ddfe73ae1ebeb66565fde (patch) | |
tree | b6c5ce16531bd552a20df6cbf94a8f2a4174e4dd /drivers/cpufreq/exynos-cpufreq.c | |
parent | bb7e80a98e369f6713b9d1aedc7aabd0334b795a (diff) | |
download | linux-3.10-13dee98298f21e387c1ddfe73ae1ebeb66565fde.tar.gz linux-3.10-13dee98298f21e387c1ddfe73ae1ebeb66565fde.tar.bz2 linux-3.10-13dee98298f21e387c1ddfe73ae1ebeb66565fde.zip |
cpufreq: exynos: Save struct device in driver data
This patch adds dev field in exynos cpufreq driver data to allow Device
Tree based clock and regulator lookups.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'drivers/cpufreq/exynos-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/exynos-cpufreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 976598fdde4..44507113c35 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c @@ -299,6 +299,8 @@ static int __init exynos_cpufreq_probe(struct platform_device *pdev) if (!exynos_info) return -ENOMEM; + exynos_info->dev = &pdev->dev; + if (soc_is_exynos4210()) ret = exynos4210_cpufreq_init(exynos_info); else if (soc_is_exynos4212() || soc_is_exynos4412()) |