Skip to content

Commit

Permalink
ASoC: topology: Disable use from userspace
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Mark Brown committed Aug 18, 2015
1 parent 78b50f3 commit 8c90503
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/uapi/sound/asoc.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
#include <linux/types.h>
#include <sound/asound.h>

#ifndef __KERNEL__
#error This API is an early revision and not enabled in the current
#error kernel release, it will be enabled in a future kernel version
#error with incompatible changes to what is here.
#endif

/*
* Maximum number of channels topology kcontrol can represent.
*/
Expand Down

0 comments on commit 8c90503

Please sign in to comment.