Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4b766c2 authored by George Cherian's avatar George Cherian Committed by Rafael J. Wysocki
Browse files

mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file



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: default avatarGeorge Cherian <george.cherian@cavium.com>
Reviewed-by: default avatarPrashanth Prakash <pprakash@codeaurora.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 39dae59d
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -69,7 +69,6 @@


#include "mailbox.h"
#include "mailbox.h"


#define MAX_PCC_SUBSPACES	256
#define MBOX_IRQ_NAME		"pcc-mbox"
#define MBOX_IRQ_NAME		"pcc-mbox"


static struct mbox_chan *pcc_mbox_channels;
static struct mbox_chan *pcc_mbox_channels;
+1 −0
Original line number Original line Diff line number Diff line
@@ -13,6 +13,7 @@
#include <linux/mailbox_controller.h>
#include <linux/mailbox_controller.h>
#include <linux/mailbox_client.h>
#include <linux/mailbox_client.h>


#define MAX_PCC_SUBSPACES	256
#ifdef CONFIG_PCC
#ifdef CONFIG_PCC
extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
						  int subspace_id);
						  int subspace_id);