diff options
-rw-r--r-- | arch/arm/mach-tegra/include/mach/uncompress.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/include/mach/uncompress.h b/arch/arm/mach-tegra/include/mach/uncompress.h index 9797279e94de..bb3fd359f9fa 100644 --- a/arch/arm/mach-tegra/include/mach/uncompress.h +++ b/arch/arm/mach-tegra/include/mach/uncompress.h | |||
@@ -30,10 +30,10 @@ | |||
30 | 30 | ||
31 | #define DEBUG_UART_SHIFT 2 | 31 | #define DEBUG_UART_SHIFT 2 |
32 | 32 | ||
33 | volatile u8 *uart; | ||
34 | |||
33 | static void putc(int c) | 35 | static void putc(int c) |
34 | { | 36 | { |
35 | volatile u8 *uart = (volatile u8 *)TEGRA_DEBUG_UART_BASE; | ||
36 | |||
37 | if (uart == NULL) | 37 | if (uart == NULL) |
38 | return; | 38 | return; |
39 | 39 | ||
@@ -50,8 +50,8 @@ static inline void arch_decomp_setup(void) | |||
50 | { | 50 | { |
51 | volatile u32 *apb_misc = (volatile u32 *)TEGRA_APB_MISC_BASE; | 51 | volatile u32 *apb_misc = (volatile u32 *)TEGRA_APB_MISC_BASE; |
52 | u32 chip, div; | 52 | u32 chip, div; |
53 | volatile u8 *uart = (volatile u8 *)TEGRA_DEBUG_UART_BASE; | ||
54 | 53 | ||
54 | uart = (volatile u8 *)TEGRA_DEBUG_UART_BASE; | ||
55 | if (uart == NULL) | 55 | if (uart == NULL) |
56 | return; | 56 | return; |
57 | 57 | ||