From patchwork Tue Jan 4 20:07:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 451571 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p04KJTcs030035 for ; Tue, 4 Jan 2011 20:19:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751022Ab1ADUIT (ORCPT ); Tue, 4 Jan 2011 15:08:19 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:40665 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750886Ab1ADUIT (ORCPT ); Tue, 4 Jan 2011 15:08:19 -0500 Received: from dlep33.itg.ti.com ([157.170.170.112]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id p04K7I0s019390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Jan 2011 14:07:34 -0600 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id p04K7HnP008193; Tue, 4 Jan 2011 14:07:17 -0600 (CST) Received: from senorita (senorita.am.dhcp.ti.com [128.247.74.250]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p04K7Gf01085; Tue, 4 Jan 2011 14:07:17 -0600 (CST) Received: by senorita (Postfix, from userid 1000) id 9DDD8C2B2; Tue, 4 Jan 2011 14:07:16 -0600 (CST) From: Nishanth Menon To: Tony Cc: l-o , l-a , Nishanth Menon Subject: [PATCH 5/5] omap2+: pm_bus: make functions used as pointers as static Date: Tue, 4 Jan 2011 14:07:14 -0600 Message-Id: <1294171634-13943-6-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1294171634-13943-1-git-send-email-nm@ti.com> References: <1294171634-13943-1-git-send-email-nm@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 (demeter1.kernel.org [140.211.167.41]); Tue, 04 Jan 2011 20:19:32 +0000 (UTC) diff --git a/arch/arm/mach-omap2/pm_bus.c b/arch/arm/mach-omap2/pm_bus.c index 784989f..5acd2ab 100644 --- a/arch/arm/mach-omap2/pm_bus.c +++ b/arch/arm/mach-omap2/pm_bus.c @@ -20,7 +20,7 @@ #include #ifdef CONFIG_PM_RUNTIME -int omap_pm_runtime_suspend(struct device *dev) +static int omap_pm_runtime_suspend(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); int r, ret = 0; @@ -37,7 +37,7 @@ int omap_pm_runtime_suspend(struct device *dev) return ret; }; -int omap_pm_runtime_resume(struct device *dev) +static int omap_pm_runtime_resume(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); int r;