From patchwork Thu Jul 8 10:08:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 110812 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o68A8DWH009840 for ; Thu, 8 Jul 2010 10:10:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756029Ab0GHKIW (ORCPT ); Thu, 8 Jul 2010 06:08:22 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:62894 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756008Ab0GHKIV (ORCPT ); Thu, 8 Jul 2010 06:08:21 -0400 Received: from muru.com ([72.249.23.125] helo=baageli.muru.com) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from ) id 1OWo1l-000O1l-0R; Thu, 08 Jul 2010 10:08:21 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 72.249.23.125 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18bUBcLfkjybQlnWDHtMoVk Subject: [PATCH 2/5] omap2/3/4: serial: remove initialization sparse warnings To: linux-arm-kernel@lists.infradead.org From: Tony Lindgren Cc: Nishanth Menon , linux-omap@vger.kernel.org Date: Thu, 08 Jul 2010 13:08:19 +0300 Message-ID: <20100708100818.19285.44966.stgit@baageli.muru.com> In-Reply-To: <20100708100715.19285.30066.stgit@baageli.muru.com> References: <20100708100715.19285.30066.stgit@baageli.muru.com> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 08 Jul 2010 10:10:27 +0000 (UTC) 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; }