diff options
author | Sekhar Nori <nsekhar@ti.com> | 2012-08-29 22:48:52 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-10-27 16:28:31 +0530 |
commit | 76d57ce6ef6060f611c14675249b7300a3c96368 (patch) | |
tree | ee5aff6789cc9b5d79caca405cc622cb29669aae /arch/arm/mach-davinci/include | |
parent | b6f1ffed9d8a830ab94fd3fc6182e2fc8c77cba0 (diff) | |
download | kernel_goldelico_gta04-76d57ce6ef6060f611c14675249b7300a3c96368.zip kernel_goldelico_gta04-76d57ce6ef6060f611c14675249b7300a3c96368.tar.gz kernel_goldelico_gta04-76d57ce6ef6060f611c14675249b7300a3c96368.tar.bz2 |
ARM: davinci: serial: provide API to initialze UART clocks
Provide an API to initialize a UART clock. Refactor existing
davinci_serial_init() to separate out the part which enables
the clock.
This will later be used to help DA850 DT boot support.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/serial.h b/arch/arm/mach-davinci/include/mach/serial.h index 46b3cd1..2d9d921 100644 --- a/arch/arm/mach-davinci/include/mach/serial.h +++ b/arch/arm/mach-davinci/include/mach/serial.h @@ -43,6 +43,7 @@ struct davinci_uart_config { }; extern int davinci_serial_init(struct davinci_uart_config *); +extern int davinci_serial_setup_clk(unsigned instance, unsigned int *rate); #endif #endif /* __ASM_ARCH_SERIAL_H */ |