From patchwork Fri Nov 13 00:52:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwin Chaugule X-Patchwork-Id: 56479 Delivered-To: patches@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp735934lbb; Thu, 12 Nov 2015 16:52:42 -0800 (PST) X-Received: by 10.140.173.65 with SMTP id t62mr20363486qht.96.1447375962539; Thu, 12 Nov 2015 16:52:42 -0800 (PST) Return-Path: Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com. [2607:f8b0:400d:c09::22f]) by mx.google.com with ESMTPS id y65si13850029qhy.43.2015.11.12.16.52.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Nov 2015 16:52:42 -0800 (PST) Received-SPF: pass (google.com: domain of ashwin.chaugule@linaro.org designates 2607:f8b0:400d:c09::22f as permitted sender) client-ip=2607:f8b0:400d:c09::22f; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ashwin.chaugule@linaro.org designates 2607:f8b0:400d:c09::22f as permitted sender) smtp.mailfrom=ashwin.chaugule@linaro.org; dkim=pass header.i=@linaro_org.20150623.gappssmtp.com Received: by qkao63 with SMTP id o63so33091044qka.2 for ; Thu, 12 Nov 2015 16:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=MW/vzhP5rmkDp1G0h/gSVuybtzvV3B61Z+7yKCp3N+8=; b=ydoJxgdcZTNsCXQ7mUxtp/ktdQB7bm7kgV1qoOwlQHPSYeI8CtddAWb94/iWa4L8+8 ZSeYfH92DVdjQJDPHcQa+EHUuBlBqhn3T1jWshQWu2rDKTpcI+PkYI+J1BA3/aAee6vB S9hDSos+gwVy4ho2ckb3hXVzOBT7EEYx7xQWl8vwpZdsKneMZayatLBvE9InfLKWWZgi 8Unig8IAakgT+IfPm7rBtGUbOyFtKb5eFXehFRV8yzQjfxEDOk0/eMC5lrTjJDSqAlyI mudjLUUc3N+fcIWHDrgieJGeAqedSNFkgrjBZKlhE+rUQMytDgGfa31bU4DTIhoN1DXh EpvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MW/vzhP5rmkDp1G0h/gSVuybtzvV3B61Z+7yKCp3N+8=; b=Ap6Dvx99oIAXNJ/feQ6smPTAilT/YRX56nYeFW9s/q+FCNafs96E6/CZfP+kwd4rgy whbG/VnE515v47NU4mss74K8EK/TvypRR1BVAaPD5SqqLlX8xSEpuedGAQBYPjccc6Ur t5No7LXbjKbaznUscleI30AiODs0JtYgofdbr4wzzHu2qUo24+aivLUUMLD57HFmD9dQ b0aeb2E+RZtUpUNksWlVnvTZ76RU6nY+wrjkZQE6aN+nmv1DBKuJtWbJvKdbrd1tpscQ Iy7Z/VO80AasXGx3rsJQY3EczmY0wLtjLlyFg8fl98oge2y/egjonyC1Z4nRI0TRW651 f5cA== X-Gm-Message-State: ALoCoQmqN0zxRIxPCLCXXI3Uoky9tryyvKxGjQ/03zshF8vtJahKr3nxdEmgJnxH7yhJJEBgvIRd X-Received: by 10.140.101.168 with SMTP id u37mr18967387qge.103.1447375962217; Thu, 12 Nov 2015 16:52:42 -0800 (PST) Return-Path: Received: from esagroth.lan ([98.122.160.202]) by smtp.gmail.com with ESMTPSA id r66sm1671630qhb.35.2015.11.12.16.52.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Nov 2015 16:52:41 -0800 (PST) From: Ashwin Chaugule To: rafael@kernel.org Cc: linux-acpi@vger.kernel.org, linaro-acpi@lists.linaro.org, patches@linaro.org, Ashwin Chaugule Subject: [PATCH] CPPC: Use h/w reduced version of the PCCT structure Date: Thu, 12 Nov 2015 19:52:30 -0500 Message-Id: <1447375950-3679-1-git-send-email-ashwin.chaugule@linaro.org> X-Mailer: git-send-email 1.9.1 CPPC is enabled only on platforms which support the h/w reduced ACPI specification. So use the h/w reduced version of the PCCT consistently while deferencing PCCT contents. Signed-off-by: Ashwin Chaugule --- drivers/acpi/cppc_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 diff --git a/drivers/acpi/cppc_acpi.c b/drivers/acpi/cppc_acpi.c index 3c083d2..6730f96 100644 --- a/drivers/acpi/cppc_acpi.c +++ b/drivers/acpi/cppc_acpi.c @@ -304,7 +304,7 @@ EXPORT_SYMBOL_GPL(acpi_get_psd_map); static int register_pcc_channel(int pcc_subspace_idx) { - struct acpi_pcct_subspace *cppc_ss; + struct acpi_pcct_hw_reduced *cppc_ss; unsigned int len; if (pcc_subspace_idx >= 0) {