summaryrefslogtreecommitdiffstats
path: root/include/acpi/pcc.h
diff options
context:
space:
mode:
authorGeorge Cherian <george.cherian@cavium.com>2017-10-11 10:54:57 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-09 00:39:53 +0100
commitc4b766c2f3fc4d847f16a3735913b7edf3136343 (patch)
tree30d0ec77865740987a95d9c01e3adb24957139cb /include/acpi/pcc.h
parentLinux 4.14-rc8 (diff)
downloadlinux-c4b766c2f3fc4d847f16a3735913b7edf3136343.tar.xz
linux-c4b766c2f3fc4d847f16a3735913b7edf3136343.zip
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: George Cherian <george.cherian@cavium.com> Reviewed-by: Prashanth Prakash <pprakash@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/pcc.h')
-rw-r--r--include/acpi/pcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/pcc.h b/include/acpi/pcc.h
index 8caa79c61703..cd6ef45e614e 100644
--- a/include/acpi/pcc.h
+++ b/include/acpi/pcc.h
@@ -13,6 +13,7 @@
#include <linux/mailbox_controller.h>
#include <linux/mailbox_client.h>
+#define MAX_PCC_SUBSPACES 256
#ifdef CONFIG_PCC
extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
int subspace_id);