summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-04-22 11:28:46 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-25 14:18:24 (GMT)
commit5e4249c6d9e596fdb26357997236a01b96c8902d (patch)
tree1480090aa6fc45e0c52b3a409c5550cf5f2d35bc /drivers/cpufreq
parent117d4f59affa869f819ec53ed0cd54aedfdeffa0 (diff)
downloadlinux-5e4249c6d9e596fdb26357997236a01b96c8902d.tar.xz
cpufreq: zynq: Use generic platdev driver
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq-dt-platdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 24dde5e..5ad2938 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -68,6 +68,8 @@ static const struct of_device_id machines[] __initconst = {
{ .compatible = "ti,omap3", },
{ .compatible = "ti,omap4", },
{ .compatible = "ti,omap5", },
+
+ { .compatible = "xlnx,zynq-7000", },
};
static int __init cpufreq_dt_platdev_init(void)