Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753603AbdFMOPl (ORCPT ); Tue, 13 Jun 2017 10:15:41 -0400 Received: from mail-sn1nam01on0050.outbound.protection.outlook.com ([104.47.32.50]:3265 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753399AbdFMOPg (ORCPT ); Tue, 13 Jun 2017 10:15:36 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=George.Cherian@cavium.com; From: George Cherian To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@acpica.org Cc: rjw@rjwysocki.net, lenb@kernel.org, jassisinghbrar@gmail.com, robert.moore@intel.com, lv.zheng@intel.com, George Cherian Subject: [PATCH-internal 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file Date: Tue, 13 Jun 2017 14:15:12 +0000 Message-Id: <1497363313-9936-2-git-send-email-george.cherian@cavium.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1497363313-9936-1-git-send-email-george.cherian@cavium.com> References: <1497363313-9936-1-git-send-email-george.cherian@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0109.INDPRD01.PROD.OUTLOOK.COM (10.174.144.25) To BN3PR0701MB1704.namprd07.prod.outlook.com (10.163.39.158) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ac3dfe66-4b28-41bd-7885-08d4b266a820 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BN3PR0701MB1704; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1704;3:yKAC7YNZ8gdu3h2fGHBW8t5Zi91NhLQWCEEplrYw4E7bw3YCXjfWP0UdUWlQMP6JNewhw+9rDqV5uMhYlehyKYS+6VySnYIaYEmkbXhiMxg9SYTfxIak7gdaS298gOHa14hYI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G0go+Bxaa2T7lgadOUyvuq04Y819burjpEQFaLwhwyZ9lsU1bTiOBn3f0dxz9aa+d+3UjxewDRXrmRe8acvlo/nMQ5OS5i3RKwIl7L0SktGzjYaTjX1i2n5VEFSqaRzOIbpjup6OP2+ISP8Z5MzK+dRLOEM+UKC2vp68jzoZ3SqfWAm2Zi0WYuW5rfPMS57YSvMcsZMrfg9OyBR0ddeMbkOt6mkI2UjQiy9X4w6piP3hAssvkeq6HwQNRzM+0AvUNDH9d1wY5YfhbjcyzYdg05v8BkkINuHZXN0W2YbKfIR76Bfr+HvkD2hr+7WeGfjh+aVOFfAD2oDaxG4yoe23FZ91KVWj4KWdJaXSzXNHy5zR2pJTD+IXCYT+s0QXnFZb4o05DO5FSeSg/+FU+IfNRRvecu8TdkCZ+D8zle8Ji7QBwuOlvrb282HTN9mTGQ/Tedo X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN3PR0701MB1704;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN3PR0701MB1704; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR0701MB1704;4:OHTvcyytKnP2YFhdBq3Yv/HLwtdQGbWB1jhU85hF?= =?us-ascii?Q?dbgeg7ePNRyULHGOy7aYSQnJajijLX5Ef/sK4k1x9VcifECxLkYr5Cewcof8?= =?us-ascii?Q?nedqpJCkzBmryW/2GHlCA3/sI9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?Q?jz5BhQlzLaeDpKDpJUvIVVJ6AsoZyI9yuO2X0VvHI0ebRuDnqYlSTZiOLWDl?= =?us-ascii?Q?0bOa/gWl+LNAWfECErVaxF/WhHEYVzaRwH7oD/vxsHXjuFq1gERRTrAjD/y8?= =?us-ascii?Q?X1ZjndLaZkRU5lZO3TQc9je/eVbEasgk?= X-Forefront-PRVS: 0337AFFE9A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39850400002)(39840400002)(39450400003)(189002)(199003)(107886003)(3846002)(110136004)(25786009)(38730400002)(76176999)(50986999)(5009440100003)(305945005)(2950100002)(69596002)(2906002)(5003940100001)(101416001)(6512007)(48376002)(81166006)(50226002)(7736002)(36756003)(50466002)(4326008)(53936002)(6116002)(81156014)(72206003)(8676002)(478600001)(106356001)(105586002)(68736007)(6506006)(15650500001)(33646002)(189998001)(6486002)(97736004)(86362001)(53416004)(5660300001)(47776003)(6666003)(66066001)(42186005);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0701MB1704;H:ubuntu.caveonetworks.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR0701MB1704;23:u7UmKdHzaGE5MSidv5CxORjniTAw/T26Xs7NbVE?= =?us-ascii?Q?s1l9VacoQzAgvCgQd17IibmyCYRYa7CoSDfQnqHXUf0TazKB4ng563tMYKp4?= =?us-ascii?Q?9PWB5h2bB8al9OrNaYxJzL5kqmEMHQAeRF/1wx/JXsKJZ1RWaHfiuO6Dy9g6?= =?us-ascii?Q?Fy71UGGk35vO4wVnEmgM0/yDoY5Us8LzL+VDkRMdA5ir9iPzvpgBaXbqMtvo?= =?us-ascii?Q?7U6kjF2c2mHILPKq2s71dY5h6nqVaGC5rUMCf/88HTzT72O9ACtR0iV/nN93?= =?us-ascii?Q?LOcXn1s4GC7YJ3K4BPKRoIRJiQvDW6ThMMTgBM7t9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crSJi11QVIW0EEakb/scrme4uzwSQNggGrC5wbCcpZTuMz3NuX+KF8DlD/REwbWTP+dYDE2tLzz+een3piR4USYo4kZk2i7SvWxRkKLM5UNG21UTigL3RAmWS+LKY7Oml0JMYR4o+MDndgD+k29l7srgvOqquVn7Nl+/xkL5i/+3f4W4l7P/Z8s+HasFsSQOGpfg4XfUHjqakt0f7Kwqzlu;24:L3NQ4qLuuLlFxcH43Vwl+JpbDKSQqk6CxGqNQyOcslATjIowiMMuAex3qgp15Yq1Z1hGHv4CqqTVJQwGp76inHNrj1o3Y2Y5xHdfC4C25+o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1704;7:w8nO/tv9HC3S/FL368ylSKzJml7jRNI0b4gKS223gCywdOB2Eq/TudPI1mq8k5FEwQHbrbsHPbaUr56BbxcyTX0LJDW29WERf/ilzLVo+2U6ktqB0btzfSdHC23ISNNEXkYfkxvpHnHkMp9ZsIUKTLjfXppmbYGXPKaKGowiH7z3bOb76W62sC3gMv3M3HA/UiR9mz3ZUPTPgHjUYwW2yl0rZu3ewbVpXlv4f/Zz6Y81jkgomZUek/PFMXu2gUd0yBqmLXLBa6mUkk4tjdPC4zlkYcfZs9D9FvV9HdTOAnDYEwmw6bZHcPa9dPkznc6lJvDhNJfyIxQFoCVbEXPRJg== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 14:15:31.8279 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1704 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 35 Move the MAX_PCC_SUBSPACES definition to acpi/pcc.h file. In preparation to add subspace id support for cppc_acpi driver. Signed-off-by: George Cherian --- drivers/mailbox/pcc.c | 1 - include/acpi/pcc.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c index dd9ecd35..9987b8f 100644 --- a/drivers/mailbox/pcc.c +++ b/drivers/mailbox/pcc.c @@ -69,7 +69,6 @@ #include "mailbox.h" -#define MAX_PCC_SUBSPACES 256 #define MBOX_IRQ_NAME "pcc-mbox" static struct mbox_chan *pcc_mbox_channels; diff --git a/include/acpi/pcc.h b/include/acpi/pcc.h index 8caa79c..cd6ef45 100644 --- a/include/acpi/pcc.h +++ b/include/acpi/pcc.h @@ -13,6 +13,7 @@ #include #include +#define MAX_PCC_SUBSPACES 256 #ifdef CONFIG_PCC extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl, int subspace_id); -- 2.7.4