diff mbox

[PM,3/4] OMAP3: Serial: remove initialization sparse warnings

Message ID 1270749249-14041-4-git-send-email-nm@ti.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Nishanth Menon April 8, 2010, 5:54 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 144033f..c7b2326 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -563,8 +563,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;
 	}