瀏覽代碼

selftests: gpio: add config fragment for gpio-mockup

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>
Fathi Boudra 8 年之前
父節點
當前提交
8a246230bd
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tools/testing/selftests/gpio/config

+ 2 - 0
tools/testing/selftests/gpio/config

@@ -0,0 +1,2 @@
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_MOCKUP=m