diff options
author | Nishanth Menon <nm@ti.com> | 2010-08-02 06:18:11 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-02 06:18:11 -0400 |
commit | c54bae1f06075e49206e7c327b4213e8b5a9b5fb (patch) | |
tree | 8b69bb2d1f884c332a56f8941ea96a190e44e219 /arch/arm/mach-omap2/serial.c | |
parent | 5ade4ff593c8f91f7e1288c6bc9aff046b62e0d6 (diff) |
omap2/3/4: serial: remove initialization sparse warnings
Initialization of pointer should be done with NULL. Removes sparse
warnings:
arch/arm/mach-omap2/serial.c:566:17: warning: Using plain integer as NULL pointer
arch/arm/mach-omap2/serial.c:567:17: warning: Using plain integer as NULL pointer
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 804dbb21cee2..9476c1c3aaa9 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -495,8 +495,8 @@ static void omap_uart_idle_init(struct omap_uart_state *uart) | |||
495 | } | 495 | } |
496 | uart->wk_mask = wk_mask; | 496 | uart->wk_mask = wk_mask; |
497 | } else { | 497 | } else { |
498 | uart->wk_en = 0; | 498 | uart->wk_en = NULL; |
499 | uart->wk_st = 0; | 499 | uart->wk_st = NULL; |
500 | uart->wk_mask = 0; | 500 | uart->wk_mask = 0; |
501 | uart->padconf = 0; | 501 | uart->padconf = 0; |
502 | } | 502 | } |