From patchwork Mon Oct 3 07:49:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 77205 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1524057qgf; Mon, 3 Oct 2016 00:49:11 -0700 (PDT) X-Received: by 10.98.129.132 with SMTP id t126mr702774pfd.59.1475480951826; Mon, 03 Oct 2016 00:49:11 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d77si9162935pfj.290.2016.10.03.00.49.11; Mon, 03 Oct 2016 00:49:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750908AbcJCHtK (ORCPT + 4 others); Mon, 3 Oct 2016 03:49:10 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:35539 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbcJCHtK (ORCPT ); Mon, 3 Oct 2016 03:49:10 -0400 Received: by mail-lf0-f53.google.com with SMTP id l131so147662612lfl.2 for ; Mon, 03 Oct 2016 00:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=po5tDh2CqhsWXOymJZtsdB0ckZEDTY0SAkFhKg/uTBU=; b=EhcEXFp2yu0Y3IADmhjfdEXlijgiCmaDY8Bc6tvHWzfqepBQHgyDwrVxfhTaKZZLgj a0B17Hu9uWmdzoPJe8kXAqvToIJtpMX9ZXjbwSTbzi5pJ77J5kFFF3Ok8Rm0+0K40E3d UQ4EmDoX5dRY4IvXPn3y63KTvHVlBurywU7dQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=po5tDh2CqhsWXOymJZtsdB0ckZEDTY0SAkFhKg/uTBU=; b=jaafSd+2D6NEjlojK72KOZoav8fygL0EeHtW8m/gV8SQdzm0pTLwb3NU89vkk+182D W281ojG5MvTV7XBgncIg6A/1mizet1X2uR4/5NP3YNDx61hAfgMmNVJQQLYYQ2UGmaDz Usyq3qu6BUzVHegD8DaMbJVVWo5fVBWtCbZjoCziFD2EfzDIxzv/56h2BKTGGzPKEOUU 7wEznCxVpW7N8V2ZzUDaeIguSMfMyRmA8ivjhEpIqfHdQwyhQDaPljwBeiYsqbWyqkp2 UjNxJid9KFDpzyQo9qAe2kmgGoJEEoyTxkRsBk33B3MV7MMHlPGGgcGzO2UKTf7KHLvK 1Mvg== X-Gm-Message-State: AA6/9RnxmvjoIEiqnjNS1Yu0lOYg3oCwK7wpgHtu40yeUbybeC/fQJTmf/+duatC+FcDgXnG X-Received: by 10.25.141.67 with SMTP id p64mr7423953lfd.86.1475480948244; Mon, 03 Oct 2016 00:49:08 -0700 (PDT) Received: from linuslaptop.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id s8sm3048395lja.26.2016.10.03.00.49.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Oct 2016 00:49:07 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij Subject: [PATCH] gpio: make memory-mapped drivers depend on HAS_IOMEM Date: Mon, 3 Oct 2016 09:49:03 +0200 Message-Id: <1475480943-3985-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This one is pretty obvious: on UM Linux compilation of things like allmodconfig and allyesconfig will fail due to the absence of IO memory. Simply make these drivers depend on HAS_IOMEM, it has been implicitly assumed all the time, so just make it explicit. Reported-by: kbuild test robot Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 59ba58b8ac13..6cb816b3aab5 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -74,6 +74,7 @@ config GPIO_MAX730X tristate menu "Memory mapped GPIO drivers" + depends on HAS_IOMEM config GPIO_74XX_MMIO tristate "GPIO driver for 74xx-ICs with MMIO access"