]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
selftests: gpio: add config fragment for gpio-mockup
authorFathi Boudra <fathi.boudra@linaro.org>
Fri, 31 Mar 2017 08:41:30 +0000 (11:41 +0300)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 21 Apr 2017 17:25:41 +0000 (11:25 -0600)
The gpio test requires to insert the gpio mockup module (CONFIG_GPIO_MOCKUP).
The gpio mockup driver depends on gpiolib (CONFIG_GPIOLIB).
CONFIG_GPIO_SYSFS is selected automatically by the gpio mockup driver.

Tested on x86_64 and arm64 with defconfig and kselftest-merge.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/gpio/config [new file with mode: 0644]

diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests/gpio/config
new file mode 100644 (file)
index 0000000..abaa690
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_MOCKUP=m