diff options
author | Manjunathappa, Prakash <prakash.pm@ti.com> | 2013-06-19 05:15:42 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-08-21 15:08:59 -0400 |
commit | fcf7157ba3b50e57653544421250ebbe81a33d81 (patch) | |
tree | d8731d13323db2c82a6d24eb6f6ea71d30780693 /arch/arm/mach-davinci/include/mach/serial.h | |
parent | 1ae1c2f91d25d0ee175a2ee4bc8b5c45012e05c1 (diff) |
ARM: davinci: serial: get rid of davinci_uart_config
"struct davinci_uart_config" was introduced to specify
UART ports brought out or enabled on the board. But
none of the boards use it for that purpose and we are
not going to add anymore board files, so remove the
structure.
Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
Suggested-by: Sekhar Nori <nsekhar@ti.com>
[nsekhar@ti.com: split patch to remove davinci_serial_setup_clk()
changes.]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/serial.h')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/serial.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-davinci/include/mach/serial.h b/arch/arm/mach-davinci/include/mach/serial.h index 62ad300440f5..36bf59155f4b 100644 --- a/arch/arm/mach-davinci/include/mach/serial.h +++ b/arch/arm/mach-davinci/include/mach/serial.h | |||
@@ -15,6 +15,8 @@ | |||
15 | 15 | ||
16 | #include <mach/hardware.h> | 16 | #include <mach/hardware.h> |
17 | 17 | ||
18 | #include <linux/platform_device.h> | ||
19 | |||
18 | #define DAVINCI_UART0_BASE (IO_PHYS + 0x20000) | 20 | #define DAVINCI_UART0_BASE (IO_PHYS + 0x20000) |
19 | #define DAVINCI_UART1_BASE (IO_PHYS + 0x20400) | 21 | #define DAVINCI_UART1_BASE (IO_PHYS + 0x20400) |
20 | #define DAVINCI_UART2_BASE (IO_PHYS + 0x20800) | 22 | #define DAVINCI_UART2_BASE (IO_PHYS + 0x20800) |
@@ -37,12 +39,7 @@ | |||
37 | #define UART_DM646X_SCR_TX_WATERMARK 0x08 | 39 | #define UART_DM646X_SCR_TX_WATERMARK 0x08 |
38 | 40 | ||
39 | #ifndef __ASSEMBLY__ | 41 | #ifndef __ASSEMBLY__ |
40 | struct davinci_uart_config { | 42 | extern int davinci_serial_init(struct platform_device *); |
41 | /* Bit field of UARTs present; bit 0 --> UART0 */ | ||
42 | unsigned int enabled_uarts; | ||
43 | }; | ||
44 | |||
45 | extern int davinci_serial_init(struct davinci_uart_config *); | ||
46 | extern int davinci_serial_setup_clk(unsigned instance, unsigned int *rate); | 43 | extern int davinci_serial_setup_clk(unsigned instance, unsigned int *rate); |
47 | #endif | 44 | #endif |
48 | 45 | ||