Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753751AbdFMORq (ORCPT ); Tue, 13 Jun 2017 10:17:46 -0400 Received: from mail-by2nam01on0052.outbound.protection.outlook.com ([104.47.34.52]:61671 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753576AbdFMORl (ORCPT ); Tue, 13 Jun 2017 10:17:41 -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 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file Date: Tue, 13 Jun 2017 14:17:10 +0000 Message-Id: <1497363431-10002-2-git-send-email-george.cherian@cavium.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1497363431-10002-1-git-send-email-george.cherian@cavium.com> References: <1497363431-10002-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: BM1PR01CA0090.INDPRD01.PROD.OUTLOOK.COM (10.174.208.158) To BY1PR0701MB1708.namprd07.prod.outlook.com (10.162.111.14) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0701MB1708: X-MS-Office365-Filtering-Correlation-Id: a2466b90-c033-4f05-7e10-08d4b266f261 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BY1PR0701MB1708; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1708;3:gL0A8bfJbxGJp0AE4pHH27ZhbsxEVguPd07PD0LzQuBMbOjL3pJ+pCFLabshI+Zf3ipKcRQUtgMusqVQ0EJFRJX35UIofAFzCjLDdiGxmM2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qEto6ZugbuTTbFw8giOg6P9fiTWyrKNaeAdjvtBQ2D5ke185HGetP3/rEDt+kPMU41tQiMdC41HawwidMnAaEyFvl2XGroikbw0DazsYb57eN//aRKVGZXN1UgsCP9xira45ZeNolWf1Xz7f+8lEY/AktoULePV9B8l2y5QW7mvzIe0r3Bno/P3C6aWsphr33BvbtCjJ7oB0vlxno9hzF5F3JggWkotAKEW+j7QYtC2Q4FcIl8Owihq1TVMYPVfXkQzED6nXSa7+fShZZQFVQX//UNI+nNGlrYMbmekQ28mTvpTuAxg0P9JJhTBfnUxAAmgpvob8pFCJfHoYS7XXaKpACGKcNsVojXb6lZd3hscFhqw50Cl+DQFP8MoZIdJpS3eroEuhpj4tox79b48YiDuIqkMBHPAhUeaq5XIKlonh9CEjjkkZ9u5C0Rpn/a 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)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY1PR0701MB1708;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY1PR0701MB1708; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1708;4:ng1EvIdSN64xh/Y1w5C5aoKgcvWcBR79LeQfdvKk?= =?us-ascii?Q?RfWdYOGANT+S/uvI2Qcrsw1XBmkAvQIYBlkaeQ9fsuCCS4x4uC3kZ802t+WK?= =?us-ascii?Q?pspyugTUc/J9tpTcfECV7qt3Hge3cCEAbba5DEtd2hq54dlDR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Bi6QVN3ls3oCJDJbepxvyV99WwtBsO4gcjIxFobOqAHKKx?= =?us-ascii?Q?PPJrj4MHGhzoeR5hpeWuLidvpkEu1wq7vf2u59yqwcrE/XFTwuUM+CFHU9YI?= =?us-ascii?Q?uQzoFUCZ8XYg7ElBDUidgOAYPGJihM1q?= X-Forefront-PRVS: 0337AFFE9A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39450400003)(39410400002)(39850400002)(39400400002)(39840400002)(199003)(189002)(36756003)(107886003)(6666003)(110136004)(69596002)(38730400002)(105586002)(53936002)(5003940100001)(7736002)(33646002)(305945005)(106356001)(42186005)(68736007)(2950100002)(6512007)(25786009)(6506006)(15650500001)(6486002)(101416001)(5009440100003)(50226002)(5660300001)(72206003)(4326008)(97736004)(76176999)(3846002)(6116002)(50986999)(2906002)(48376002)(47776003)(86362001)(8676002)(66066001)(53416004)(478600001)(81156014)(50466002)(81166006)(189998001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0701MB1708;H:ubuntu.caveonetworks.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1708;23:fCBOvoqnlrDBL5HUuSck++WRPm+A9d2jwQr2Lcb?= =?us-ascii?Q?2rC6NTRhkGEGo1z73n6h6TvuD5seUBd6EXz36T8LKhXUMHEx7Cpg5CXQJtGj?= =?us-ascii?Q?3ciSmcNIFinCDSqgPq3nRNdknu7LwVhI/uhRsyU9VUMfsAtFqoiil0AIA/gG?= =?us-ascii?Q?V8ne1lvtkxr1FweuMQITZ+iWX5cjbPpVpkLOYv1pZsMIGhWpEIb++p7VbjXN?= =?us-ascii?Q?qHUaIIDnBvoROSvPmZbmZzu6Bd5Naykw3h6L9JU8BAF2bhR/BnW/X4yPEdfn?= =?us-ascii?Q?d8t3ZNsrfc0pApZvHq8NwJET1r+lbOJ02eLsfODLNaukhFVeUEligSvS+/Fy?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lFUDQxmDpxWslBrDgQJD?= =?us-ascii?Q?iP711mWY5scH+emBSRIxa732y2jl+M9QGaUCKbZHt6UvzdPkYpvPDrbKNSpQ?= =?us-ascii?Q?yf1QtlMQ4rssqcKqib7pz2Sc=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1708;6:wjbvX9CKyV8mQERMvNpAjlDhpxyyXKVn1XeltKzGRNUcYSb71ss5t+ytrqPzTyUwBowUG8/ZgOLXDA7rH4vXCru6/lg/8qKb9Qp62f/3RzIwTyb/o4RPnFX8nb2PdcL8SkePAOyzHczXHAdGbn2YUjSNjSnf/KLu2/wMmeYj/WuZNmGqKhG1j21gDOl7yAm0G2mSedPpP6lJ45h1VuWCUDKJrZox7miOq1ZhB196bZZWL3JjQjgrZOqY1rjW1j9duVBZQCAY1pdmXNjYba00HzpA5X38D1ervoGx/Fs9alSXrM6cS7B6o5O4h/QImk7qJI/oNmGck1WU3gHreZMitib1FkIz01f+2bR0WpqpSmcyx+m30mZ3HG/cbEVwCKLulolp05giADTBHAFuq1lz81DQPpTQgFkjafPyCt1rq/QU7Hp9ZY/My3Bnd1GIcAoVXyaKOVGmfcr02s2205gsLrnjaw1kwfbid1c3g9y6bTKOc9Huf5U7ECygatoSX6Lc/2a87JO0T79oAVv6gvBocg== X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1708;5:1buuOLm3HZNW5sUhVDjF3VsT95JY94wSRv1vvNlnmHQOwXyYhUvJTbTv6rv8ogvm1VoDGJbhIIefWKQ6brKKr4JQoV2vl60H/oVihpv/hWyzbSz8cqQN5donWSgVLNn+/v8ogSaujHEnqIsPa8YNO4x2yHTqC9QOzbhzZ7SjpVT7xVQsdrfSOcue1Bw7exy6S8MqQQw0yLjSAz41LtunSB9fWburt+91tVzNrKxwvmiNdTSL39LKCYLiNVTZuqckZCkYOeb+XZ6jhQuONBwxtEtuJGPTwHIX+numcOkJUra8yDcbrm6nbRLzrn3v+AWMlCpptqL9ELbXf03CdrN14EZBXRJxzR9oED2XskSmk9q88kTbnpzRjG4qYq8KjOJEkY9iEseEHrhlV+mfjes0ZzTVbJuKG1c+yvTUyZRM06OrYiUy7WoNRWP5lXbx4Fv62EA7U4tVYe4ElBIl/7xOJKkf9un8QBdvCjXRDC00dJb1FdoUw8m1OBt+Q6hegNrt;24:75kKxQdAHNNzySkSi0MEfw/GXUEUoO1+qrMjUiMIgFfJ+Jj7+j3pluuIv1BhHy4JqSCaRg96dPaCXHlyV413aP6KOjbH0SeWgIFOG57RfJw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1708;7:+KeIwmwi2TzsGpR4/BDSqCi0dAraYUZM4qnPj9IALHxZcKV6UOZSZeUNUHHWvRO9DWFWUb0ID7rL8GKaLsdYasfZ0afjBLNUvnIKKNzIggvLogW3NR83v9oZh3oS3ppH3PhXfakU5zzQMOKQ34eZh5T3h0//pSzRLNZSuBLhJm+OFW1AIjeFL09HDuSzCugdz404HEQuZuZkRBb8wC2b+f+6HP5GL6X07pH1ZWDPiSCe6QzTBWKfawQKVjWOKaYFBe30wj64rtWHYScokv0IqpLGcPygPkMjb2SpB49uSwOXM0THvjMC8B4AkzU6Tkxpxholsr/brggEXFvlQZ84OQ== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 14:17:36.1153 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1708 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