From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Cherian Subject: Re: [PATCH-internal 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file Date: Tue, 13 Jun 2017 19:50:41 +0530 Message-ID: <593FF4B9.1030903@caviumnetworks.com> References: <1497363313-9936-1-git-send-email-george.cherian@cavium.com> <1497363313-9936-2-git-send-email-george.cherian@cavium.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-by2nam03on0066.outbound.protection.outlook.com ([104.47.42.66]:12993 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752078AbdFMOVB (ORCPT ); Tue, 13 Jun 2017 10:21:01 -0400 In-Reply-To: <1497363313-9936-2-git-send-email-george.cherian@cavium.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: George Cherian , 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 Please ignore this patch the subject had -internal tag Sorry!! Resent the proper one. On 06/13/2017 07:45 PM, George Cherian wrote: > 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); >