summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm355-leopard.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-18 18:48:09 +0200
committerSekhar Nori <nsekhar@ti.com>2018-06-26 12:15:55 +0200
commit5b19f66d63b44ca38953b157e81595fb1e985762 (patch)
tree687143576be920915f574e3ba2d4e9c9886ff2d5 /arch/arm/mach-davinci/board-dm355-leopard.c
parentARM: davinci: da850: add new clock init using common clock framework (diff)
downloadlinux-5b19f66d63b44ca38953b157e81595fb1e985762.tar.xz
linux-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-leopard.c')
-rw-r--r--arch/arm/mach-davinci/board-dm355-leopard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c
index 8249a0bf69f0..0fdf1d03eb11 100644
--- a/arch/arm/mach-davinci/board-dm355-leopard.c
+++ b/arch/arm/mach-davinci/board-dm355-leopard.c
@@ -234,6 +234,8 @@ static __init void dm355_leopard_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);