From patchwork Tue Aug 7 11:21:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10561 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9DD1B24058 for ; Tue, 7 Aug 2012 11:22:37 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 63807A181F7 for ; Tue, 7 Aug 2012 11:22:37 +0000 (UTC) Received: by yenq6 with SMTP id q6so3530502yen.11 for ; Tue, 07 Aug 2012 04:22:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=GYfoxajwK+f9po6RMRPXQMrjOpISSTxFs1aVyfTbBvA=; b=dLvJubPXtNbv6f+UDVhecsG+M7Kyunfn+9M95cm7yHwrigCHDLkbpeSoyIQKhm9TFt VeX/i8o3T3lKZl8xsS/YJ5JwvyfJdSIz+tXUjdy19u1U/6to2i8e5KkwNXr25jkRxnsx SsbrUGkLuWBaA2sJTqnGFULaTmTsEDSn6lk8JcuN7VshZigeyPCbzUScL2Fgv+WJ3/RE 9HP+CO9MlaIo5ajS+DwXT2yQUuTYYcdnN86iF54munp1HCpy9Yf6Ez3sUtGyL1gmwzID WTlfle2V5V2l7YD6aKKjcmdewo+d1B0wJ3MJSt+PgU58eU6k9mhJ1uxRf/C1D/JrPt6X QYPA== Received: by 10.50.219.194 with SMTP id pq2mr8108759igc.25.1344338556534; Tue, 07 Aug 2012 04:22:36 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp492345igz; Tue, 7 Aug 2012 04:22:35 -0700 (PDT) Received: by 10.236.197.3 with SMTP id s3mr13244773yhn.1.1344338555081; Tue, 07 Aug 2012 04:22:35 -0700 (PDT) Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.213.178]) by mx.google.com with ESMTPS id w42si21338763yhd.96.2012.08.07.04.22.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 04:22:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.213.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by yenm2 with SMTP id m2so1668369yen.37 for ; Tue, 07 Aug 2012 04:22:34 -0700 (PDT) Received: by 10.66.9.2 with SMTP id v2mr25386482paa.65.1344338554334; Tue, 07 Aug 2012 04:22:34 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id rs4sm7585392pbc.0.2012.08.07.04.22.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 04:22:33 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: amit.kachhap@linaro.org, dg77.kim@samsung.com, guenter.roeck@ericsson.com, akpm@linux-foundation.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/3] thermal: Exynos: Fix build error Date: Tue, 7 Aug 2012 16:51:03 +0530 Message-Id: <1344338465-15478-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkqCM3FTmuvRdeL7uk3Or+haqfm4iKC/fKMnLWoOw8QcUd/hZ/uX0wxxWIMbwUAioIB8Akr Fixes the following error: drivers/thermal/exynos_thermal.c:393:4: error: too few arguments to function ‘thermal_zone_device_register’ Added the missing 'mask' argument. Signed-off-by: Sachin Kamat Signed-off-by: Sachin Kamat --- drivers/thermal/exynos_thermal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index 07736ea..f6debad 100644 --- a/drivers/thermal/exynos_thermal.c +++ b/drivers/thermal/exynos_thermal.c @@ -389,7 +389,7 @@ static int exynos_register_thermal(struct thermal_sensor_conf *sensor_conf) th_zone->cool_dev_size = count; th_zone->therm_dev = thermal_zone_device_register(sensor_conf->name, - EXYNOS_ZONE_COUNT, NULL, &exynos_dev_ops, 0, 0, 0, + EXYNOS_ZONE_COUNT, 0, NULL, &exynos_dev_ops, 0, 0, 0, IDLE_INTERVAL); if (IS_ERR(th_zone->therm_dev)) {