From patchwork Thu Mar 10 17:47:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Pihet X-Patchwork-Id: 625491 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 p2AHllPf010444 for ; Thu, 10 Mar 2011 17:47:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753505Ab1CJRrq (ORCPT ); Thu, 10 Mar 2011 12:47:46 -0500 Received: from mail-wy0-f174.google.com ([74.125.82.174]:55430 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753463Ab1CJRrq (ORCPT ); Thu, 10 Mar 2011 12:47:46 -0500 Received: by wya21 with SMTP id 21so1681959wya.19 for ; Thu, 10 Mar 2011 09:47:44 -0800 (PST) Received: by 10.227.197.201 with SMTP id el9mr1775382wbb.22.1299779264786; Thu, 10 Mar 2011 09:47:44 -0800 (PST) Received: from localhost.localdomain (5.121-245-81.adsl-dyn.isp.belgacom.be [81.245.121.5]) by mx.google.com with ESMTPS id t72sm605793wei.20.2011.03.10.09.47.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2011 09:47:44 -0800 (PST) From: Jean Pihet To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kevin Hilman , paul@pwsan.com Cc: Jean Pihet Subject: [PATCH v2 2/7] OMAP: PM CONSTRAINTS: add an enum for the classes of constraint Date: Thu, 10 Mar 2011 18:47:22 +0100 Message-Id: <1299779247-20511-3-git-send-email-j-pihet@ti.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1299779247-20511-1-git-send-email-j-pihet@ti.com> References: <1299779247-20511-1-git-send-email-j-pihet@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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 10 Mar 2011 17:47:47 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/plat/omap-pm.h b/arch/arm/plat-omap/include/plat/omap-pm.h index c0a7520..5f19cb2 100644 --- a/arch/arm/plat-omap/include/plat/omap-pm.h +++ b/arch/arm/plat-omap/include/plat/omap-pm.h @@ -70,6 +70,10 @@ void omap_pm_if_exit(void); * Device-driver-originated constraints (via board-*.c files, platform_data) */ +enum omap_pm_constraint_class { + OMAP_PM_CONSTRAINT_WKUP_LAT, + OMAP_PM_CONSTRAINT_THROUGHPUT +}; /** * omap_pm_set_max_mpu_wakeup_lat - set the maximum MPU wakeup latency