diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-02-25 18:36:38 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-06 18:02:01 -0400 |
commit | 28552c2eae472a0a52d1cdb02eb32766c7f690e1 (patch) | |
tree | b996bede5ecde42ad8b95d99b494418b1acd2a90 /arch/arm/mach-davinci/dm646x.c | |
parent | 66f41d4c5c8a5deed66fdcc84509376c9a0bf9d8 (diff) |
davinci: misc cleanups from sparse
- Convert data/functions to static
- include headers for missing declarations
- pointer cleanups: struct foo *__iomem f --> struct foo __iomem *f;
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm646x.c')
-rw-r--r-- | arch/arm/mach-davinci/dm646x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index 893baf4ad37d..b67b997d0bbc 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c | |||
@@ -311,7 +311,7 @@ static struct clk vpif1_clk = { | |||
311 | .flags = ALWAYS_ENABLED, | 311 | .flags = ALWAYS_ENABLED, |
312 | }; | 312 | }; |
313 | 313 | ||
314 | struct clk_lookup dm646x_clks[] = { | 314 | static struct clk_lookup dm646x_clks[] = { |
315 | CLK(NULL, "ref", &ref_clk), | 315 | CLK(NULL, "ref", &ref_clk), |
316 | CLK(NULL, "aux", &aux_clkin), | 316 | CLK(NULL, "aux", &aux_clkin), |
317 | CLK(NULL, "pll1", &pll1_clk), | 317 | CLK(NULL, "pll1", &pll1_clk), |
@@ -797,7 +797,7 @@ static void __iomem *dm646x_psc_bases[] = { | |||
797 | * T1_BOT: Timer 1, bottom: (used by DSP in TI DSPLink code) | 797 | * T1_BOT: Timer 1, bottom: (used by DSP in TI DSPLink code) |
798 | * T1_TOP: Timer 1, top : <unused> | 798 | * T1_TOP: Timer 1, top : <unused> |
799 | */ | 799 | */ |
800 | struct davinci_timer_info dm646x_timer_info = { | 800 | static struct davinci_timer_info dm646x_timer_info = { |
801 | .timers = davinci_timer_instance, | 801 | .timers = davinci_timer_instance, |
802 | .clockevent_id = T0_BOT, | 802 | .clockevent_id = T0_BOT, |
803 | .clocksource_id = T0_TOP, | 803 | .clocksource_id = T0_TOP, |
@@ -867,7 +867,7 @@ static struct davinci_soc_info davinci_soc_info_dm646x = { | |||
867 | .sram_len = SZ_32K, | 867 | .sram_len = SZ_32K, |
868 | }; | 868 | }; |
869 | 869 | ||
870 | void __init dm646x_init_ide() | 870 | void __init dm646x_init_ide(void) |
871 | { | 871 | { |
872 | davinci_cfg_reg(DM646X_ATAEN); | 872 | davinci_cfg_reg(DM646X_ATAEN); |
873 | platform_device_register(&ide_dev); | 873 | platform_device_register(&ide_dev); |