From patchwork Mon Nov 14 16:41:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101528 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp1228973obn; Mon, 14 Nov 2016 08:42:41 -0800 (PST) X-Received: by 10.98.64.10 with SMTP id n10mr37469941pfa.168.1479141761093; Mon, 14 Nov 2016 08:42:41 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11si22862033pfk.40.2016.11.14.08.42.39; Mon, 14 Nov 2016 08:42:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932414AbcKNQmi (ORCPT + 13 others); Mon, 14 Nov 2016 11:42:38 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:55479 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932297AbcKNQmh (ORCPT ); Mon, 14 Nov 2016 11:42:37 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0LkRpr-1cdSII0WT5-00cSLa; Mon, 14 Nov 2016 17:42:21 +0100 From: Arnd Bergmann To: "Rafael J. Wysocki" Cc: Arnd Bergmann , Srinivas Pandruvada , Len Brown , Viresh Kumar , Philippe Longepe , Stephane Gasparini , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: intel_pstate: fix intel_pstate_use_acpi_profile helper Date: Mon, 14 Nov 2016 17:41:51 +0100 Message-Id: <20161114164216.2657919-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 X-Provags-ID: V03:K0:7frQO/TkxxiZDJjd3geA2KHBYY1xrdbyo+tS3NL9rzo03CQFgCP GpBeFkcaQiFffAoc+jNGkpOTY8xQvpCDu1qOUw2zV14r4xUEznQAzP7dodgrHj0d0a08so5 NEsuhX9X5nNo/nNBpRqgKv1IhT4VMsAvsa/y0ReX33sO4WakNP2utiDMryQCgvCfJPivUux pTgL9kNtBeJsX+UhhzuCw== X-UI-Out-Filterresults: notjunk:1; V01:K0:IJAii4uhgy8=:OOdtX+rahtldbGKLdFdBLz mYc7VFVDJNSH+Pm7xCXqGBEb0DRorRztSk+T6xiangrv79u93ipByYlD0fw3f1aVfDcs75uUl Sgg8F0RVG60gGRQ6mpEDGBBQMxIZqBnd8G4B9jdCZiBgmCpwgDBgJPNI7XUbjOK9dSPk28hA8 tS60CMnajdo8hbUX7t23fMXT8yjf9Ge++I/XKCCBk1W9AdJtA70EYokQgMBxHN7UqqFmPA/t6 Gh0xjlv+30sF3ShbOdP9Ag8s/+6EQbUn514xv2tLehVENarRuhbxvEA0DFW+qVMpUazy5551E 8K7NQSgj/d1SwQlkh7BtvBYdJGqrkegiiSckXmZwlZvREZnqiqNw3M6J8RD2sUECNyU7ff/cR PdEkn9JdSJfgZOERIcUtgWDA1+vY2FwtCx8ZJbjONfaL295/ihY+e+naoqYbImOExIA4kx7L1 3vv5B8NES8GQ69AZPWrMDnpMwOiDEtEVp4Yucy+iRRqLqL/kJ3xAc1/9lKY/1ztUlaPrwPmp3 U+BOJJpAlWLj5NmHI1u6JygLFLtawEEsS3Wy7bFSwUuuAucq9jlbcufjeBFcfzECYqsArZGtg Ulr1fvKupuQax/kFFvcCsjZW0aL7XAdHJh1WRwVLgyFtXC1X9Hmvsm58rWrF30PdwN33c75dt ND9Lv8MxWjK2rYMuaZlBlLWaAEmye3vAaRBEnSjqcRCluFkPel2+fnCMg3SY55eJi7KQHW4I6 ROH8OMmmCRMU2dEwxBpqrncwuP+T8AjgKTatPV44Sh3WdIWLb1vZHwYz0DQ= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The newly added function uses two different prototypes depending on configuration, and one of them does not match the caller: drivers/cpufreq/intel_pstate.c: In function ‘copy_cpu_funcs’: drivers/cpufreq/intel_pstate.c:1798:2: error: too few arguments to function ‘intel_pstate_use_acpi_profile’ This changes it to look like the other one. Fixes: 3bea6a285476 ("cpufreq: intel_pstate: Use cpu load based algorithm for mobile class devices") Signed-off-by: Arnd Bergmann --- drivers/cpufreq/intel_pstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 65832f8eacdc..7153cf2d8e11 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -1779,7 +1779,7 @@ static void intel_pstate_use_acpi_profile(void) get_target_pstate_use_cpu_load; } #else -static inline void intel_pstate_use_acpi_profile(struct pstate_funcs *funcs) +static inline void intel_pstate_use_acpi_profile(void) { } #endif