Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932327AbdCaGYd (ORCPT ); Fri, 31 Mar 2017 02:24:33 -0400 Received: from mail-sn1nam02on0075.outbound.protection.outlook.com ([104.47.36.75]:37888 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753049AbdCaGY3 (ORCPT ); Fri, 31 Mar 2017 02:24:29 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cavium.com; From: George Cherian To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@acpica.org Cc: ashwin.chaugule@linaro.org, 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: Fri, 31 Mar 2017 06:24:01 +0000 Message-Id: <1490941442-11954-2-git-send-email-george.cherian@cavium.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1490941442-11954-1-git-send-email-george.cherian@cavium.com> References: <1490941442-11954-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: PN1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (10.174.144.149) To BLUPR0701MB1699.namprd07.prod.outlook.com (10.163.85.13) X-MS-Office365-Filtering-Correlation-Id: c6263400-294f-4f54-0c39-08d477fe948e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BLUPR0701MB1699; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;3:zclqnjw6gTD1lc+Yyglz2p7p2+M+Vl3wuCZmKMGue8V3lZ8SRUkGcJjvVXS/IMA/pjxZAJvXTc/V1wpyQHiWxVXyU8RNQtOaXnaey5zJrjecmABJnMe2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mw4bVl7qjy5fe3ZZ9lPwYbr6XY5uXjtq29ipOL+q52XulGe5MN+VZumFGl1x6XlWDUX/RoBpF2BfYlU/plO7ZLZX0i3zaOUpSBL92YU4On6tiStdusSEpb0LJypJbr3cXD7ruIQNSMLfqhZ0CBjdo6QLiHHGN2zd1B0cN/LBlAm0mCrg1s8g0DDG6IcWbnc3YrxcNxeVQ4JsIfuo8GuRuMzftN82Z1MBJ4c4M1+kb06RS4zQhzEvrUA43cOCuxcgEWDa6NndNgFx28B7VpDiGUz9hQyXf9iUykW4y8i7p7doNb3bGL2iqF1nHS/RCorhmIOkRGNfhkS3tRKjHslXtHirsjpivjEeerg+d1Zzcs2hF6xPqpjUukHFZIMIwpugTnfKBmHeOQ4gnoasPe/3oIJtM76ZDISvHLdEF7IQa/ZiirhvyVMZcg0s8Kyo6I17v9m1z8n X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006091)(93001091)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(6072148);SRVR:BLUPR0701MB1699;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0701MB1699; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;4:iXpmkHwMLqPt3kWDXOTmutLUI1N+ZIp8xrxk12D6EHEq4b5VVqNWv9NqplkHL566oghq9XPUq2kabjevLEbRUzM/wyKQ1exe7OTyZ1P/0zBVxxTNYkxcHSTVvkeDdRV0AQXFBKQa3tUPMFXaw/BBCFdO/J02MSNxPDXV/9XojB4NPqcFhI+T+Wpq6L4YgomEWKlA2ORB3CGS0blOGsVB6MOWW36MsM2bLbWWoww5EbBjc5b5gKRvzPhisfT7OD+0AktlHU/1MwzSEGhIEdbdKc8YTPuC8Rk+kdvW8NWNaH2c5xAXqZHrmY8YES2k93rYkI1ADMUUl2No6iw95QfIr0auFOMMO6FXjmK6+cdtNNcaaOFPYCqZYteoCmMiuZG8//ltLMxKpxkwHvuTy3YgHCRceI6slleH6qYGJZSg2Fj2Rr9iPRXefCkXHGkCueGiTG+IIyyEV/YT2bv+i0CpwzyMMR+Hp5TuVelF5DCNFYv5cBJZCElHfXHRuwaj1ydSl8GMMVwlpVWwmL6MkDFrbOsixCTV7Sseh4NlHW856yBDdZzzqwLBH0gO8gVwPJ/QZpfkMzCObRVCLL3dbqnnXDUlGff7PukWzqSgxifq38wTjOPrYT/qiN5T/9LK2l5DYSCCPezCYDRZ8RLpAM9M85+E/AzdC/Qk4pLykBqG4g6goCZv9Kfusws88XRQB/khYsSHYofz3u63aIdUTdnZIg== X-Forefront-PRVS: 02638D901B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(979002)(6009001)(39840400002)(39450400003)(39410400002)(39400400002)(4326008)(2950100002)(6666003)(110136004)(53936002)(107886003)(38730400002)(6486002)(6512007)(15650500001)(2906002)(86362001)(25786009)(6506006)(5009440100003)(50226002)(8676002)(189998001)(33646002)(42186005)(305945005)(53416004)(50986999)(6116002)(66066001)(3846002)(5660300001)(36756003)(76176999)(5003940100001)(47776003)(81166006)(48376002)(50466002)(7736002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0701MB1699;H:ubuntu.caveonetworks.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR0701MB1699;23:m0yr5Xqxnpk+WW/kZIFK2jbuRBXbBmYmWZGJIxN?= =?us-ascii?Q?mxVNJJcfztz5J36E4wSfIqONNtl+Q/ZJmXN4+f5cnyUCToePNwEfGD5PA2yW?= =?us-ascii?Q?4R49OVveJyFhKgcsKWhZMeMA3iOQ0cL0iCRA3QXUEuLGXkNd4chuj+5387P0?= =?us-ascii?Q?qbeMZuLZuky7wkIMp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947u?= =?us-ascii?Q?1/K1QJghQAn9UBC31sep14CErUBcJ2GqZ9ATP+U+pz6eDHHGCN8EJYecBrXt?= =?us-ascii?Q?vF5g/UaZPtemPJ6auGMc0MKAkkTl5d9XapmvS+Js6j8C15zhzRnnd4Q=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;6:jt2uMJBXQAIhLrtCi4wZNyD5P3eH7O6oB+QAYEEWhXr+sLhLPjsyS/n1+EASWEBCRyhTRdijKfgKwXb+/cgD6jsJw9xprfGs0B0sp/dU5JLG9HIM4u3KL5E3aDXLgUk+kExzZOul7BRRHF61UrsYnKmc9rq5ugqJRZ1NsPe9tOVvdbqTKltzhETgcz5nZrRfw9X6u3/aJSMAGx3vpfWoJR845s58KSAE8HmiZHkYuvao0eJcPJpsFr+RkJS9qg2ENaITGWCLDENA0mginH7wxlNm31CF0bC3nsbUT6JhGYUTRON4E90WnPs5RLZ1nsC9pgnwubzhs42GcAuv6LNTS86RCCywp/Oyz+XzOHJuMZRZFI7L8fQR7LuAkqRHvtyLDAHZ06c3bfYQwVIep6arNg==;5:dnR+lyJ3pxpzUhmCJbu1XV4Yd+xJqa4Md/sve4zSMkqOAJtSN9SVifmGfZZ3MqmF7otwRs5scOaEPm9mKwNKViftCP+HgGkLv1JYDVABvuTwvlb8nTyNOiex0S3PI7TQ44y/QW+Sgh3u5OaeBIauPg==;24:AilvOjUJHR60qJPO9vdSSH6WrZdneE3rqohJz9YBI3YiamuASwGAT7J4mAwt3G90dxPsziQ8da1ujsPLnVGTmEcvRhSx7CtxPkF5R1qFO4E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;7:b0/NoQMZF0r8c2MbzvzQXphu+DIAXhZBNEL268uM3dZ3Dc1ybAqGClDb3+jWwXtZHzKnxy5zqgRH+JL6P3dRHWcwUi8uNiCe2FHbUWnDcHfm1l2sejmxvQF2Ot9TpKtQcXJ5BHF2PsPR5oBsyo8d8AYW+sHejD40o4NStK13Imh8Ygv4vPu284qfcyJqhWtG8tC5rq8To0fYajDCP4eY7QN/i1Nq+/kq0lCr6NBZPg98Vrqtr7vo9nY8uRD8aPdSi2g7OiUs9Jw0WlwtQ7be0b/ul34ybsLlPj62K8yM+ubmEv548YYWY5kvhBFBlJn4AYaKWhVewwFyYUaP31fMOA== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2017 06:24:23.5067 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1699 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.1.4