summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm365-evm.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-18 18:48:10 +0200
committerSekhar Nori <nsekhar@ti.com>2018-06-26 12:16:42 +0200
commit21c2f4773dd0c45899a524a4a7f70dd32db4c1a1 (patch)
tree7b189c91c387bfe4ccbf475f527a1a6e09257dfc /arch/arm/mach-davinci/board-dm365-evm.c
parentARM: davinci: dm355: add new clock init using common clock framework (diff)
downloadlinux-21c2f4773dd0c45899a524a4a7f70dd32db4c1a1.tar.xz
linux-21c2f4773dd0c45899a524a4a7f70dd32db4c1a1.zip
ARM: davinci: dm365: add new clock init using common clock framework
This adds the new board-specific clock init in mach-davinci/dm365.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-dm365-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm365-evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
index 435f7ec7d9af..307e88d99dd3 100644
--- a/arch/arm/mach-davinci/board-dm365-evm.c
+++ b/arch/arm/mach-davinci/board-dm365-evm.c
@@ -742,6 +742,8 @@ static __init void dm365_evm_init(void)
{
int ret;
+ dm365_register_clocks();
+
ret = dm365_gpio_register();
if (ret)
pr_warn("%s: GPIO init failed: %d\n", __func__, ret);