diff mbox

[2/5] omap2/3/4: serial: remove initialization sparse warnings

Message ID 1277266674-5906-3-git-send-email-nm@ti.com (mailing list archive)
State Accepted
Commit c9a35d136ce2c6c5bdbf405d5ba97546d4d46314
Delegated to: Tony Lindgren
Headers show

Commit Message

Nishanth Menon June 23, 2010, 4:17 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 804dbb2..9476c1c 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)
 		}
 		uart->wk_mask = wk_mask;
 	} else {
-		uart->wk_en = 0;
-		uart->wk_st = 0;
+		uart->wk_en = NULL;
+		uart->wk_st = NULL;
 		uart->wk_mask = 0;
 		uart->padconf = 0;
 	}