aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm646x-evm.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-18 11:48:12 -0500
committerSekhar Nori <nsekhar@ti.com>2018-06-26 15:48:35 +0530
commit81df7d85364f28df6e13a76c7119533140a3b176 (patch)
tree97b3a45ccfaa7a79762776be68e860c21ad031b5 /arch/arm/mach-davinci/board-dm646x-evm.c
parentARM: davinci: dm644x: add new clock init using common clock framework (diff)
downloadlinux-dev-81df7d85364f28df6e13a76c7119533140a3b176.tar.xz
linux-dev-81df7d85364f28df6e13a76c7119533140a3b176.zip
ARM: davinci: dm646x: add new clock init using common clock framework
This adds the new board-specific clock init in mach-davinci/dm646x.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-dm646x-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm646x-evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c
index 584064fdabf5..867ab2fa6cfd 100644
--- a/arch/arm/mach-davinci/board-dm646x-evm.c
+++ b/arch/arm/mach-davinci/board-dm646x-evm.c
@@ -776,6 +776,8 @@ static __init void evm_init(void)
int ret;
struct davinci_soc_info *soc_info = &davinci_soc_info;
+ dm646x_register_clocks();
+
ret = dm646x_gpio_register();
if (ret)
pr_warn("%s: GPIO init failed: %d\n", __func__, ret);