aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm355-evm.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-18 11:48:09 -0500
committerSekhar Nori <nsekhar@ti.com>2018-06-26 15:45:55 +0530
commit5b19f66d63b44ca38953b157e81595fb1e985762 (patch)
tree687143576be920915f574e3ba2d4e9c9886ff2d5 /arch/arm/mach-davinci/board-dm355-evm.c
parentARM: davinci: da850: add new clock init using common clock framework (diff)
downloadlinux-dev-5b19f66d63b44ca38953b157e81595fb1e985762.tar.xz
linux-dev-5b19f66d63b44ca38953b157e81595fb1e985762.zip
ARM: davinci: dm355: add new clock init using common clock framework
This adds the new board-specific clock init in mach-davinci/dm355.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-dm355-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm355-evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c
index a3377f959444..f53a461a606f 100644
--- a/arch/arm/mach-davinci/board-dm355-evm.c
+++ b/arch/arm/mach-davinci/board-dm355-evm.c
@@ -394,6 +394,8 @@ static __init void dm355_evm_init(void)
struct clk *aemif;
int ret;
+ dm355_register_clocks();
+
ret = dm355_gpio_register();
if (ret)
pr_warn("%s: GPIO init failed: %d\n", __func__, ret);