From patchwork Tue Oct 9 05:54:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 1568511 Return-Path: X-Original-To: patchwork-linux-acpi@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 DFC393FE80 for ; Tue, 9 Oct 2012 06:08:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753457Ab2JIGHX (ORCPT ); Tue, 9 Oct 2012 02:07:23 -0400 Received: from mail-qa0-f46.google.com ([209.85.216.46]:49201 "EHLO mail-qa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752949Ab2JIGDN (ORCPT ); Tue, 9 Oct 2012 02:03:13 -0400 Received: by mail-qa0-f46.google.com with SMTP id c26so2928969qad.19 for ; Mon, 08 Oct 2012 23:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:reply-to:organization; bh=BqPEXz+nYRm5LC27MPF3/QMdOX66zW7OLzBnTokIsIk=; b=Cpf3WZSBa98LywC2gQLpk0b12KrVo2y4Owb4IgKuffhfuilizE9MLouNVARNH7q4g/ 8jQv4ppQa7ekoZhQIclSPFRZTlMw7Swnr3UbZiWKV+0Mjuf0pup5nf1T2ZcAl51YqYiD BreqSkm760vhrPlij5vw4X8fYuoHNPltIF0XgVFePn3LRAt5BKGLiFvrkd22BktL9FZh 3MKmKOezHU2bZ1NyTy3+ghYE7wh//N0ScMGsL2OyYgNWHLu3ZQ8XyHkLqRMo1T2A1veL nNq6cHmgANcH695nU/YnAP+AiUGAFwfivtV6jDKD7khp2QulLuX+e1u+D7DkS+8YAOL/ E+yg== Received: by 10.229.198.76 with SMTP id en12mr7998312qcb.107.1349762592617; Mon, 08 Oct 2012 23:03:12 -0700 (PDT) Received: from x980.localdomain6 (pool-74-104-146-186.bstnma.fios.verizon.net. [74.104.146.186]) by mx.google.com with ESMTPS id ck11sm20206037qab.17.2012.10.08.23.03.11 (version=SSLv3 cipher=OTHER); Mon, 08 Oct 2012 23:03:12 -0700 (PDT) From: Len Brown To: linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Eduardo Valentin , Zhang Rui Subject: [PATCH 17/30] Fix a build error. Date: Tue, 9 Oct 2012 01:54:07 -0400 Message-Id: X-Mailer: git-send-email 1.8.0.rc1 In-Reply-To: <1349762060-25334-1-git-send-email-lenb@kernel.org> References: <1349762060-25334-1-git-send-email-lenb@kernel.org> In-Reply-To: References: Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Eduardo Valentin Signed-off-by: Eduardo Valentin Signed-off-by: Zhang Rui --- drivers/staging/omap-thermal/omap-thermal-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-thermal-common.c index d543d5c..b4cd6cc 100644 --- a/drivers/staging/omap-thermal/omap-thermal-common.c +++ b/drivers/staging/omap-thermal/omap-thermal-common.c @@ -120,7 +120,9 @@ static int omap_thermal_bind(struct thermal_zone_device *thermal, /* TODO: bind with min and max states */ /* Simple thing, two trips, one passive another critical */ - return thermal_zone_bind_cooling_device(thermal, 0, cdev); + return thermal_zone_bind_cooling_device(thermal, 0, cdev, + THERMAL_NO_LIMIT, + THERMAL_NO_LIMIT); } /* Unbind callback functions for thermal zone */