Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755249AbYGUTdx (ORCPT ); Mon, 21 Jul 2008 15:33:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754235AbYGUTdo (ORCPT ); Mon, 21 Jul 2008 15:33:44 -0400 Received: from smtp4.pp.htv.fi ([213.243.153.38]:34158 "EHLO smtp4.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753978AbYGUTdn (ORCPT ); Mon, 21 Jul 2008 15:33:43 -0400 Date: Mon, 21 Jul 2008 22:33:36 +0300 From: Adrian Bunk To: "Rafael J. Wysocki" , Pavel Machek , Greg KH , Jesse Barnes Cc: linux-kernel@vger.kernel.org Subject: [2.6 patch] make struct platform_pm_ops static Message-ID: <20080721193336.GB14846@cs181140183.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 25 This patch makes the needlessly global struct platform_pm_ops static. Signed-off-by: Adrian Bunk --- 71ccd993d723c7ce560975622801153de6ca8f59 diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 3f94039..e621dad 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -862,7 +862,7 @@ static int platform_pm_restore_noirq(struct device *dev) #endif /* !CONFIG_HIBERNATION */ -struct pm_ext_ops platform_pm_ops = { +static struct pm_ext_ops platform_pm_ops = { .base = { .prepare = platform_pm_prepare, .complete = platform_pm_complete, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/