Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2207820pxk; Mon, 14 Sep 2020 07:25:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0w10tyOiEM7jHKhqHUvwxWE+hw+G3AArUpw7h8weTHe4sokZA6BvdsznwgPwXrNqo7BPa X-Received: by 2002:a17:906:af42:: with SMTP id ly2mr14335516ejb.362.1600093549356; Mon, 14 Sep 2020 07:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600093549; cv=none; d=google.com; s=arc-20160816; b=oPGKuT9wvlWTFdO/csO3wZwAQsQQf99Ej7jFKyxmeeJyLOaBB+LjMCfeQgdxU/jAUl wNgbvRlQeRQvodWnkh6fpHc9aj2u+N5GAhz91VaX1HoQwOhFkpGVC+S5maK5/tRt4rhs M5Qt2RRhsL2YjXvh80znVCuYSBJI2tfaCqk9F+FkB3d22J8FAc7jSreESWOnIxpW5No3 a+Df3+cxCM01kLkN5CJ3+xHQhG6LuuQImREHsF6pLXfxW3cgf8mgZEpkgpW3mB+RtNBO //Q5pHng78j3wnynuqZMQqNuLfIXBoK42B6C6++CF2aPjmkC2x1hXAtEcHmVL2JsgX4b /kJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ouLLBB71MhyAg7cMX0BP37uhOtAVXyfejLB2F4clRRw=; b=VGcPhG55CWaugMAxjnnmYRez2kl+LwtOIqGeGCgdrSqmUjNkvRr24uTnp9Ng/0PjlZ CSUU9TUbRGQ4NE+L2Mj4v5fRkKlfQdZLlP5XYDwgxyvPviEs7Wbt1Jl2t83qY4iVyd7C LeTtK+td0UFfXvbw7OzhvVL9NFd8CfN9AZjn+1xg4d3j5H2heqiDvOy90Ae1rcLaXuzz 7nEIC+fgnx99pT5S1ZnZj1+Ow1xvuDqoJ8FYMBTvUlrSflntpX/tilSjfuPN1+TJ//qO Y7Pgviw+0A56x8fliBQ+6XUBtDB3KplA5sUaOWmr1H9oHjxynTP/vLFeu79VTJm66aVM LNTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jrgwn5mu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l5si7052540ejd.109.2020.09.14.07.25.27; Mon, 14 Sep 2020 07:25:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jrgwn5mu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726700AbgINOWv (ORCPT + 99 others); Mon, 14 Sep 2020 10:22:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbgINOVX (ORCPT ); Mon, 14 Sep 2020 10:21:23 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D41A7C06174A for ; Mon, 14 Sep 2020 07:21:22 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id z1so18962204wrt.3 for ; Mon, 14 Sep 2020 07:21:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ouLLBB71MhyAg7cMX0BP37uhOtAVXyfejLB2F4clRRw=; b=jrgwn5mu2PMzca842yB4ncq2yiMP4FsMcmYN2CJ977wDsSuwJt8QmFLdii/PI+3JWF k3AOsTo2++2Xnfd5FfA0TZBia2mkZpJJDA9PVCp+3NvkfAwTcTCQXMickGcwnyXkoxD8 mcjG/8nKgvZWoGrIr1g3ey1m2BD6lDCaWqrDKBi5XVApic5oPQYZwUlEvLb17c6y8ICX lWaBGmI0Ok5KMYlLCg8wYyrIEEXtAKlHbKr7UPKhbIST0J2Le4BVfeLjSjn9jyGI+NoN Y2Hm39O/FhfLmsfaxPCrrvUxq3QTnLnTAt6I9K1tR7NpQg04RH1AHVR2t5dfejbxYBl7 Jkew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ouLLBB71MhyAg7cMX0BP37uhOtAVXyfejLB2F4clRRw=; b=un93JngfBnxaGhxNIbaJ1KJAJ6I2tdX4CVGzlgWeHvxHkVfZxhE94Nn3KtvmxUi+oW 09PonJdgsjkvDeN4tgzR6uUXj73cRfivqHTbPiE68vZAWNvrQnF4GJy/CRMgHyd0JF7W PcuJYwJGxon/wrxP+pgqPibPWobnSYh6UlkYNv/xYmECHlFZnaq16tukvp3xKVkg1pHW 6krE94Q/RdrgNRGR+WyCNtIuHNrK6m3BQv6hTyDYuEOA7Nh3WIgXb4LP/GjOAgIH8eAU 2MITI6CaghvgEP6652P/swUVrHkop74PdgnV02pT/JADt1bmIMTtvhrh03gpjWY4BAKJ +n4A== X-Gm-Message-State: AOAM530rdbki6ir4/9oBLIWMNVwlOUBf9pAcheVP1xHiUu/AHMyYnyQY ilppFsVkYPb+SoHvEnaG3IU= X-Received: by 2002:adf:df0f:: with SMTP id y15mr16039892wrl.127.1600093281468; Mon, 14 Sep 2020 07:21:21 -0700 (PDT) Received: from localhost.localdomain ([85.153.229.188]) by smtp.gmail.com with ESMTPSA id b187sm19192697wmb.8.2020.09.14.07.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 07:21:20 -0700 (PDT) From: Necip Fazil Yildiran To: nsekhar@ti.com Cc: geert+renesas@glider.be, bgolaszewski@baylibre.com, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, paul@pgazz.com, jeho@cs.utexas.edu, Necip Fazil Yildiran Subject: [PATCH] ARM: davinci: fix kconfig dependency warning when !GPIOLIB Date: Mon, 14 Sep 2020 17:19:55 +0300 Message-Id: <20200914141954.337859-1-fazilyildiran@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When MACH_DAVINCI_DA830_EVM is enabled and GPIOLIB is disabled, it results in the following Kbuild warning: WARNING: unmet direct dependencies detected for GPIO_PCF857X Depends on [n]: GPIOLIB [=n] && I2C [=y] Selected by [y]: - MACH_DAVINCI_DA830_EVM [=y] && ARCH_DAVINCI [=y] && ARCH_DAVINCI_DA830 [=y] && I2C [=y] The reason is that MACH_DAVINCI_DA830_EVM selects GPIO_PCF857X without depending on or selecting GPIOLIB while GPIO_PCF857X is subordinate to GPIOLIB. Honor the kconfig menu hierarchy to remove kconfig dependency warnings. Fixes: 77316f057526 ("davinci: DA830/OMAP-L137 EVM: use runtime detection for UI card") Signed-off-by: Necip Fazil Yildiran --- arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index e0cbcda6f087..3a6307d85828 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -130,6 +130,7 @@ config MACH_DAVINCI_DA830_EVM bool "TI DA830/OMAP-L137/AM17x Reference Platform" default ARCH_DAVINCI_DA830 depends on ARCH_DAVINCI_DA830 + select GPIOLIB if I2C select GPIO_PCF857X if I2C help Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module. -- 2.25.1