cpufreq: Makefile: fix compilation for davinci platform
authorPrabhakar Lad <prabhakar.csengg@gmail.com>
Tue, 8 Jul 2014 15:25:38 +0000 (16:25 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Jul 2014 00:54:15 +0000 (02:54 +0200)
commit5a90af67c2126fe1d04ebccc1f8177e6ca70d3a9
tree15afa13d2eb92777108a113c4cc81beef7de049e
parent179e8471673ce0249cd4ecda796008f7757e5bad
cpufreq: Makefile: fix compilation for davinci platform

Since commtit 8a7b1227e303 (cpufreq: davinci: move cpufreq driver to
drivers/cpufreq) this added dependancy only for CONFIG_ARCH_DAVINCI_DA850
where as davinci_cpufreq_init() call is used by all davinci platform.

This patch fixes following build error:

arch/arm/mach-davinci/built-in.o: In function `davinci_init_late':
:(.init.text+0x928): undefined reference to `davinci_cpufreq_init'
make: *** [vmlinux] Error 1

Fixes: 8a7b1227e303 (cpufreq: davinci: move cpufreq driver to drivers/cpufreq)
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Makefile