From patchwork Tue Jun 20 17:01:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 13286219 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 348F9EB64D8 for ; Tue, 20 Jun 2023 17:02:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbjFTRCX (ORCPT ); Tue, 20 Jun 2023 13:02:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbjFTRCW (ORCPT ); Tue, 20 Jun 2023 13:02:22 -0400 Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86C891727 for ; Tue, 20 Jun 2023 10:02:20 -0700 (PDT) Received: by mail-ua1-x933.google.com with SMTP id a1e0cc1a2514c-7870821d9a1so3478827241.1 for ; Tue, 20 Jun 2023 10:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687280539; x=1689872539; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FlKmKVASdoZBr1V8sa5UPB3N4JwT5N5y08CJyYmSlmQ=; b=AygIvD2BOhImFB/UVypf6X4G6GBMKpKO89PyQaoELZe22PSId1ZX1gziEbTqJo4lxc al5QT0WD37lt16pJ5t8oKQxmajy2ug9vIyFbmxh3QQqusyt9Y+LxjxJrlNKEDzQAEsLR NUYQ9cpayZMRZBQJr8YaYCzs2TZwKsrU5j6gwxUm0I7didfoXxlt2hBv90OOad0zAqY1 k5uG2eJVbLJLmaIagq5DrM10ZYLp4LF3TuByqzjo4sBB1Hrih4VPW29rZLB857cxH6By EUeCuimjl93XkTAi8+SB5dIBroYJkfY1yUReIC9AxP3WDb6maLi+yFGqWtsJgzruVHv9 a+sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687280539; x=1689872539; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FlKmKVASdoZBr1V8sa5UPB3N4JwT5N5y08CJyYmSlmQ=; b=e/mx4pxfWqXMSe4Yw3YLe1reuSuOb9zK0wuuBnOvVlNTkN4GLAvVqS8DwtSD2d7Zrr gTzxw4hJZfnAbeaLK7puiv/Uhc0rHmmjbup48N3d3MGQoFPvM9j6LZxns4j0o+oERR4G GDpoUO3VHLml9fG66QQgHw855feKCJaXmZBDSepYt932Mr4JcynWiKSupnyrgdSVU4VA C6E+0a5Lv+6bKgIBh6QIbyoxAuUblLRU5R6ZDsQj4R6D+kmxWI+ha2z52TYsMHOZrN20 YaG0d26Zv7TQpZTnRNSnC+qsU3N+I/C+szTvxt4zUoYvHq62ippKFCBbTr8sTRT/uv3Z TbgQ== X-Gm-Message-State: AC+VfDwkEK3tJ47E0nh4gsXrbk8is/38xcoy6PGKB2PwlWrsQX0BjFka VEm8Gd1G9z2XaTf++g9p+e/5rZ33FRXP/xRcctQKMQ== X-Google-Smtp-Source: ACHHUZ4ONv4r6D2eJ0nebB/G913SPwmGqROuysv4vqjCbp2thXlcqnFn1aKlsCjp610GH/pv/cntxw== X-Received: by 2002:a05:6102:1624:b0:43b:2d20:f364 with SMTP id cu36-20020a056102162400b0043b2d20f364mr3455693vsb.7.1687280539358; Tue, 20 Jun 2023 10:02:19 -0700 (PDT) Received: from fedora.. (072-189-067-006.res.spectrum.com. [72.189.67.6]) by smtp.gmail.com with ESMTPSA id n24-20020a9f3158000000b00789a6c15851sm358865uab.13.2023.06.20.10.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 10:02:18 -0700 (PDT) From: William Breathitt Gray To: linux-iio@vger.kernel.org, Jarkko Nikula , Jonathan Cameron , Bartosz Golaszewski Cc: Linus Walleij , Lars-Peter Clausen , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, andy.shevchenko@gmail.com, William Breathitt Gray Subject: [PATCH] counter: Fix menuconfig "Counter support" submenu entries disappearance Date: Tue, 20 Jun 2023 13:01:59 -0400 Message-Id: <20230620170159.556788-1-william.gray@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org The current placement of the I8254 Kconfig entry results in the disappearance of the "Counter support" submenu items in menuconfig. Move the I8254 above the menuconfig COUNTER entry to restore the intended submenu behavior. Fixes: d428487471ba ("counter: i8254: Introduce the Intel 8254 interface library module") Reported-by: Jarkko Nikula Closes: https://lore.kernel.org/all/32ddaa7b-53a8-d61f-d526-b545bd561337@linux.intel.com/ Signed-off-by: William Breathitt Gray Reviewed-by: Randy Dunlap Tested-by: Jarkko Nikula Reviewed-by: Jarkko Nikula --- drivers/counter/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) base-commit: d428487471ba6640ee8bcdabaf830aec08b85400 diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index a61a4b9b8ec6..86536c2cc531 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -3,13 +3,6 @@ # Counter devices # -menuconfig COUNTER - tristate "Counter support" - help - This enables counter device support through the Generic Counter - interface. You only need to enable this, if you also want to enable - one or more of the counter device drivers below. - config I8254 tristate select COUNTER @@ -25,6 +18,13 @@ config I8254 If built as a module its name will be i8254. +menuconfig COUNTER + tristate "Counter support" + help + This enables counter device support through the Generic Counter + interface. You only need to enable this, if you also want to enable + one or more of the counter device drivers below. + if COUNTER config 104_QUAD_8