diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 14:15:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 14:15:13 +0200 |
commit | 86f690e8bfd124c38940e7ad58875ef383003348 (patch) | |
tree | b8261a4063b0601c4cdc638a75d0048c1e8da82d /include/uapi | |
parent | 45ea83f02dc090c477261ac6c93aa2097edca601 (diff) | |
parent | 72ef0f24d587d38f235334aef69afe611bba0d16 (diff) | |
download | talos-op-linux-86f690e8bfd124c38940e7ad58875ef383003348.tar.gz talos-op-linux-86f690e8bfd124c38940e7ad58875ef383003348.zip |
Merge tag 'stm-intel_th-for-greg-20180329' of git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm into char-misc-next
Alexander writes:
stm class/intel_th: Updates for 4.17
These are:
* Mass conversion to GPL-2 SPDX header
* Moved "hwtracing" to now its own submenu, to uncrowd the parent menu a bit
* Added MAINTAINERS entry for drivers/hwtracing
* Somewhat small Trace Hub fixes
* Added ACPI glue layer for the Trace Hub
* Added more module parameters to dummy_stm for better test coverage
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/stm.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/uapi/linux/stm.h b/include/uapi/linux/stm.h index dbffdc23d804..7bac318b4440 100644 --- a/include/uapi/linux/stm.h +++ b/include/uapi/linux/stm.h @@ -3,15 +3,6 @@ * System Trace Module (STM) userspace interfaces * Copyright (c) 2014, Intel Corporation. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * * STM class implements generic infrastructure for System Trace Module devices * as defined in MIPI STPv2 specification. */ @@ -21,6 +12,10 @@ #include <linux/types.h> +/* Maximum allowed master and channel values */ +#define STP_MASTER_MAX 0xffff +#define STP_CHANNEL_MAX 0xffff + /** * struct stp_policy_id - identification for the STP policy * @size: size of the structure including real id[] length |