diff options
| author | Sekhar Nori <nsekhar@ti.com> | 2013-04-10 05:27:13 -0400 |
|---|---|---|
| committer | Sekhar Nori <nsekhar@ti.com> | 2013-04-17 09:56:40 -0400 |
| commit | 267f3c07318b1b1bf04f6039bda7c54613d9e120 (patch) | |
| tree | 8670839c004aa83df2ad35e6fbef5f7929878242 | |
| parent | 5c71d6181f5c23c35415bddf1414f840e9149f8c (diff) | |
ARM: davinci: da8xx dt: make file local symbols static
Make some file-local functions static. This fixes the sparse
warnings:
CHECK arch/arm/mach-davinci/da8xx-dt.c
arch/arm/mach-davinci/da8xx-dt.c:23:13: warning: symbol 'da8xx_uart_clk_enable' was not declared. Should it be static?
arch/arm/mach-davinci/da8xx-dt.c:40:23: warning: symbol 'da850_auxdata_lookup' was not declared. Should it be static?
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| -rw-r--r-- | arch/arm/mach-davinci/da8xx-dt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index 6b7a0a27fbd1..57e14a8774db 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | #define DA8XX_NUM_UARTS 3 | 21 | #define DA8XX_NUM_UARTS 3 |
| 22 | 22 | ||
| 23 | void __init da8xx_uart_clk_enable(void) | 23 | static void __init da8xx_uart_clk_enable(void) |
| 24 | { | 24 | { |
| 25 | int i; | 25 | int i; |
| 26 | for (i = 0; i < DA8XX_NUM_UARTS; i++) | 26 | for (i = 0; i < DA8XX_NUM_UARTS; i++) |
| @@ -37,7 +37,7 @@ static void __init da8xx_init_irq(void) | |||
| 37 | of_irq_init(da8xx_irq_match); | 37 | of_irq_init(da8xx_irq_match); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { | 40 | static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { |
| 41 | OF_DEV_AUXDATA("ti,davinci-i2c", 0x01c22000, "i2c_davinci.1", NULL), | 41 | OF_DEV_AUXDATA("ti,davinci-i2c", 0x01c22000, "i2c_davinci.1", NULL), |
| 42 | OF_DEV_AUXDATA("ti,davinci-wdt", 0x01c21000, "watchdog", NULL), | 42 | OF_DEV_AUXDATA("ti,davinci-wdt", 0x01c21000, "watchdog", NULL), |
| 43 | {} | 43 | {} |
