diff mbox

selftests: gpio: add config fragment for gpio-mockup

Message ID 20170328184126.28446-1-fathi.boudra@linaro.org
State Accepted
Commit 8a246230bd2e822f440ebf4e7424fabb4d42da24
Headers show

Commit Message

Fathi Boudra March 28, 2017, 6:41 p.m. UTC
The gpio test requires to insert gpio-mockup module.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>

---
 tools/testing/selftests/gpio/config | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/gpio/config

-- 
2.11.0

Comments

Bamvor Zhang Jian March 30, 2017, 1:27 p.m. UTC | #1
Hi, Fathi

On 29 March 2017 at 02:41, Fathi Boudra <fathi.boudra@linaro.org> wrote:
> The gpio test requires to insert gpio-mockup module.

>

> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>

> ---

>  tools/testing/selftests/gpio/config | 1 +

>  1 file changed, 1 insertion(+)

>  create mode 100644 tools/testing/selftests/gpio/config

>

> diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests/gpio/config

> new file mode 100644

> index 000000000000..ae160d924d22

> --- /dev/null

> +++ b/tools/testing/selftests/gpio/config

> @@ -0,0 +1 @@

> +CONFIG_GPIO_MOCKUP=m

The gpio mockup driver depends on gpiolib, debugfs and sysfs(will be
selected automatically):
CONFIG_GPIOLIB=y
CONFIG_DEBUG_GPIO=y

Regards

Bamvor
> --

> 2.11.0

>
diff mbox

Patch

diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests/gpio/config
new file mode 100644
index 000000000000..ae160d924d22
--- /dev/null
+++ b/tools/testing/selftests/gpio/config
@@ -0,0 +1 @@ 
+CONFIG_GPIO_MOCKUP=m