From patchwork Fri Feb 19 12:27:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 80621 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1JCRiBP017650 for ; Fri, 19 Feb 2010 12:27:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753146Ab0BSM13 (ORCPT ); Fri, 19 Feb 2010 07:27:29 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:32816 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088Ab0BSM10 (ORCPT ); Fri, 19 Feb 2010 07:27:26 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o1JCRMVZ015531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Feb 2010 06:27:25 -0600 Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o1JCRJPC025454; Fri, 19 Feb 2010 17:57:19 +0530 (IST) Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by linfarm476.india.ti.com (8.12.11/8.12.11) with ESMTP id o1JCRJJj024143; Fri, 19 Feb 2010 17:57:19 +0530 Received: (from x0016154@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id o1JCRJtj024141; Fri, 19 Feb 2010 17:57:19 +0530 From: Rajendra Nayak To: linux-omap@vger.kernel.org, khilman@ti.com Cc: Rajendra Nayak Subject: [PATCH 6/6] OMAP: Fix compile break in serial with CONFIG_PM disabled Date: Fri, 19 Feb 2010 17:57:17 +0530 Message-Id: <1266582437-22398-6-git-send-email-rnayak@ti.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1266582437-22398-5-git-send-email-rnayak@ti.com> References: <1266582437-22398-1-git-send-email-rnayak@ti.com> <1266582437-22398-2-git-send-email-rnayak@ti.com> <1266582437-22398-3-git-send-email-rnayak@ti.com> <1266582437-22398-4-git-send-email-rnayak@ti.com> <1266582437-22398-5-git-send-email-rnayak@ti.com> 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]); Fri, 19 Feb 2010 12:27:45 +0000 (UTC) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index ac8262d..3905574 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c @@ -527,7 +527,12 @@ static ssize_t sleep_timeout_store(struct device *dev, DEVICE_ATTR(sleep_timeout, 0644, sleep_timeout_show, sleep_timeout_store); #define DEV_CREATE_FILE(dev, attr) WARN_ON(device_create_file(dev, attr)) #else -static inline void omap_uart_idle_init(struct omap_uart_state *uart) {} +static inline void omap_uart_idle_init(struct omap_uart_state *uart) +{ +} +static void omap_uart_block_sleep(struct omap_uart_state *uart) +{ +} #define DEV_CREATE_FILE(dev, attr) #endif /* CONFIG_PM */