Since the topology API is still in sufficient flux for changes to be identified disable the use of the userspace ABI by adding #error statements to the code, ensuring that nobody relies on the headers as currently defined. It is expected that this change will be reverted for v4.3.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -18,6 +18,12 @@ · 17 unmodified lines | |||
| 18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
| 19 | #include <sound/asound.h> | 19 | #include <sound/asound.h> |
| 20 | 20 | ||
| 21 | #ifndef __KERNEL__ | ||
| 22 | #error This API is an early revision and not enabled in the current | ||
| 23 | #error kernel release, it will be enabled in a future kernel version | ||
| 24 | #error with incompatible changes to what is here. | ||
| 25 | #endif | ||
| 26 | |||
| 21 | /* | 27 | /* |
| 22 | * Maximum number of channels topology kcontrol can represent. | 28 | * Maximum number of channels topology kcontrol can represent. |
| 23 | */ | 29 | */ |