From patchwork Wed Mar 30 15:19:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Pihet X-Patchwork-Id: 674401 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 p2UFJZfK002041 for ; Wed, 30 Mar 2011 15:19:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754852Ab1C3PTk (ORCPT ); Wed, 30 Mar 2011 11:19:40 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:60961 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754838Ab1C3PTk (ORCPT ); Wed, 30 Mar 2011 11:19:40 -0400 Received: by mail-wy0-f174.google.com with SMTP id 21so1176208wya.19 for ; Wed, 30 Mar 2011 08:19:39 -0700 (PDT) Received: by 10.227.138.220 with SMTP id b28mr1429406wbu.87.1301498379479; Wed, 30 Mar 2011 08:19:39 -0700 (PDT) Received: from localhost.localdomain (245.207-245-81.adsl-dyn.isp.belgacom.be [81.245.207.245]) by mx.google.com with ESMTPS id w25sm104997wbd.39.2011.03.30.08.19.37 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 08:19:38 -0700 (PDT) From: jean.pihet@newoldbits.com To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kevin Hilman , paul@pwsan.com Cc: Jean Pihet Subject: [PATCH 5/8] OMAP: PM CONSTRAINTS: add an enum for the classes of constraint Date: Wed, 30 Mar 2011 17:19:21 +0200 Message-Id: <1301498364-726-6-git-send-email-j-pihet@ti.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1301498364-726-1-git-send-email-j-pihet@ti.com> References: <1301498364-726-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]); Wed, 30 Mar 2011 15:19:41 +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