From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932869AbdCaIlm (ORCPT ); Fri, 31 Mar 2017 04:41:42 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36039 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218AbdCaIlj (ORCPT ); Fri, 31 Mar 2017 04:41:39 -0400 From: Fathi Boudra To: linux-kselftest@vger.kernel.org, Shuah Khan Cc: linux-kernel@vger.kernel.org, Bamvor Jian Zhang , Fathi Boudra Subject: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup Date: Fri, 31 Mar 2017 11:41:30 +0300 Message-Id: <20170331084130.7973-1-fathi.boudra@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Changes in v2: * Per Bamvor Zhang Jian review, add gpiolib dependency (CONFIG_GPIOLIB). Skipped CONFIG_DEBUG_GPIO as it isn't necessary, and CONFIG_GPIO_SYSFS as it's selected automatically by the gpio mockup driver. tools/testing/selftests/gpio/config | 2 ++ 1 file changed, 2 insertions(+) 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..abaa6902b7b6 --- /dev/null +++ b/tools/testing/selftests/gpio/config @@ -0,0 +1,2 @@ +CONFIG_GPIOLIB=y +CONFIG_GPIO_MOCKUP=m -- 2.11.0