From patchwork Sun Feb 10 05:58:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 2121471 X-Patchwork-Delegate: lenb@kernel.org Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 0B52F3FDF1 for ; Sun, 10 Feb 2013 05:59:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626Ab3BJF7h (ORCPT ); Sun, 10 Feb 2013 00:59:37 -0500 Received: from mail-vc0-f181.google.com ([209.85.220.181]:34102 "EHLO mail-vc0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752299Ab3BJF6w (ORCPT ); Sun, 10 Feb 2013 00:58:52 -0500 Received: by mail-vc0-f181.google.com with SMTP id d16so3178638vcd.40 for ; Sat, 09 Feb 2013 21:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:reply-to:organization; bh=A7OefWSjAPzF3Tc2dHo4qcOtCI0Mcw6F3T0mxJqFrQM=; b=AENezhap03AdNjOFQ3E/1mcl/xRHNnqF8ePxH9VJ1sMOKv6ZEPRzZvrTrqX8r4BwRC IUl11IuQal2KNef/WAxNQZsLoaLNCfhoFletEOsqI9+TM8b0fx7gdtDwSv1ltq60dw3Y GqEIztBX2fCJkx9+eLdlNUhpGlvrP2s4HMd4AyG0BSbXxJCOsBUd1HUHuBFSR+ycMit+ H53iM4Txkhhim2m85AFcTaiQXl+lG6g1896/PSxWHhk9o49Tx2n812KpPpZU61bIww+9 HPG7Relf44V3SfiOOBW5bdY/Cxj+iAGkJ697qCbGK28jyDu3GxwCT+pEJApdY0v5KtTs mFHQ== X-Received: by 10.52.28.82 with SMTP id z18mr10929027vdg.33.1360475931384; Sat, 09 Feb 2013 21:58:51 -0800 (PST) Received: from x980.localdomain6 (pool-108-7-58-246.bstnma.fios.verizon.net. [108.7.58.246]) by mx.google.com with ESMTPS id p7sm42173052vdt.2.2013.02.09.21.58.50 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 09 Feb 2013 21:58:50 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown Subject: [PATCH 15/16] PM idle: remove global declaration of pm_idle Date: Sun, 10 Feb 2013 00:58:22 -0500 Message-Id: <9ba4b07d809ec52dad63f11365df5166989edb46.1360475150.git.len.brown@intel.com> X-Mailer: git-send-email 1.8.1.3.535.ga923c31 In-Reply-To: <1360475903-30007-1-git-send-email-lenb@kernel.org> References: <1360475903-30007-1-git-send-email-lenb@kernel.org> In-Reply-To: <2b219d07e0f287c2c713f5465fc8646158fa986e.1360475150.git.len.brown@intel.com> References: <2b219d07e0f287c2c713f5465fc8646158fa986e.1360475150.git.len.brown@intel.com> Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Len Brown pm_idle appears in no generic Linux code, it appears only in architecture-specific code. Thus, pm_idle should not be declared in pm.h. Architectures that use an idle function pointer should delcare one local to their architecture, and/or use cpuidle. Signed-off-by: Len Brown Cc: linux-pm@vger.kernel.org --- include/linux/pm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/pm.h b/include/linux/pm.h index 03d7bb1..97bcf23 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -31,7 +31,6 @@ /* * Callbacks for platform drivers to implement. */ -extern void (*pm_idle)(void); extern void (*pm_power_off)(void); extern void (*pm_power_off_prepare)(void);