diff options
author | George Cherian <george.cherian@cavium.com> | 2017-10-11 08:54:57 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-11-09 00:39:53 +0100 |
commit | c4b766c2f3fc4d847f16a3735913b7edf3136343 (patch) | |
tree | 30d0ec77865740987a95d9c01e3adb24957139cb /include/acpi | |
parent | 39dae59d66acd86d1de24294bd2f343fd5e7a625 (diff) | |
download | linux-riscv-c4b766c2f3fc4d847f16a3735913b7edf3136343.tar.gz linux-riscv-c4b766c2f3fc4d847f16a3735913b7edf3136343.tar.bz2 linux-riscv-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')
-rw-r--r-- | include/acpi/pcc.h | 1 |
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); |