summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-04-25 18:03:08 +0200
committerJonathan Corbet <corbet@lwn.net>2016-04-28 07:47:35 -0600
commit14fbff6b4e48a529c90e771598ac12bffd445ff4 (patch)
treeebbd42b6baecbba583bf00410b6c75be09b96f4c /samples/Kconfig
parent715cda787c47458c94b2d012e6e9ab0988409f22 (diff)
downloadlinux-14fbff6b4e48a529c90e771598ac12bffd445ff4.tar.bz2
samples: connector: from Documentation to samples directory
A small bug with the new autoksyms support showed that there are two kernel modules in the Documentation directory that qualify as samples, while all other samples are in the samples/ directory. This patch was originally meant as a workaround for that bug, but it has now been solved in a different way. However, I still think it makes sense as a cleanup to consolidate all sample code in one place. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index d54f28c6dc5e..559a58baff6e 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -76,4 +76,13 @@ config SAMPLE_CONFIGFS
help
Builds a sample configfs interface.
+config SAMPLE_CONNECTOR
+ tristate "Build connector sample -- loadable modules only"
+ depends on CONNECTOR && m
+ help
+ When enabled, this builds both a sample kernel module for
+ the connector interface and a user space tool to communicate
+ with it.
+ See also Documentation/connector/connector.txt
+
endif # SAMPLES