summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-neuros-osd2.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-18 11:48:11 -0500
committerSekhar Nori <nsekhar@ti.com>2018-06-26 15:47:58 +0530
commita5b1a87199ac7ee35e69bcf00410abf2ab22483f (patch)
treef4efd33fd3ce49699527341bff08269000d12274 /arch/arm/mach-davinci/board-neuros-osd2.c
parent21c2f4773dd0c45899a524a4a7f70dd32db4c1a1 (diff)
downloadlinux-a5b1a87199ac7ee35e69bcf00410abf2ab22483f.tar.gz
linux-a5b1a87199ac7ee35e69bcf00410abf2ab22483f.tar.bz2
linux-a5b1a87199ac7ee35e69bcf00410abf2ab22483f.zip
ARM: davinci: dm644x: add new clock init using common clock framework
This adds the new board-specific clock init in mach-davinci/dm644x.c using the new common clock framework drivers. The #ifdefs are needed to prevent compile errors until the entire ARCH_DAVINCI is converted. Also clean up the #includes since we are adding some here. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-neuros-osd2.c')
-rw-r--r--arch/arm/mach-davinci/board-neuros-osd2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c
index 25ad9b0612be..353f9e5a1454 100644
--- a/arch/arm/mach-davinci/board-neuros-osd2.c
+++ b/arch/arm/mach-davinci/board-neuros-osd2.c
@@ -175,6 +175,8 @@ static __init void davinci_ntosd2_init(void)
struct clk *aemif_clk;
struct davinci_soc_info *soc_info = &davinci_soc_info;
+ dm644x_register_clocks();
+
dm644x_init_devices();
ret = dm644x_gpio_register();