Skip to content
Snippets Groups Projects
Commit 4808f106 authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

serial: pxa: Make local functions static


Make functions that are local-only static, so no hairy symbols
stick out of the serial_pxa driver file.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
parent ce6971cd
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ DECLARE_GLOBAL_DATA_PTR; ...@@ -87,7 +87,7 @@ DECLARE_GLOBAL_DATA_PTR;
#endif #endif
#endif #endif
uint32_t pxa_uart_get_baud_divider(void) static uint32_t pxa_uart_get_baud_divider(void)
{ {
if (gd->baudrate == 1200) if (gd->baudrate == 1200)
return 768; return 768;
...@@ -105,7 +105,7 @@ uint32_t pxa_uart_get_baud_divider(void) ...@@ -105,7 +105,7 @@ uint32_t pxa_uart_get_baud_divider(void)
return 0; return 0;
} }
struct pxa_uart_regs *pxa_uart_index_to_regs(uint32_t uart_index) static struct pxa_uart_regs *pxa_uart_index_to_regs(uint32_t uart_index)
{ {
switch (uart_index) { switch (uart_index) {
case FFUART_INDEX: return (struct pxa_uart_regs *)FFUART_BASE; case FFUART_INDEX: return (struct pxa_uart_regs *)FFUART_BASE;
...@@ -117,7 +117,7 @@ struct pxa_uart_regs *pxa_uart_index_to_regs(uint32_t uart_index) ...@@ -117,7 +117,7 @@ struct pxa_uart_regs *pxa_uart_index_to_regs(uint32_t uart_index)
} }
} }
void pxa_uart_toggle_clock(uint32_t uart_index, int enable) static void pxa_uart_toggle_clock(uint32_t uart_index, int enable)
{ {
uint32_t clk_reg, clk_offset, reg; uint32_t clk_reg, clk_offset, reg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment