From patchwork Tue Aug 16 08:06:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 73954 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1861838qga; Tue, 16 Aug 2016 01:06:50 -0700 (PDT) X-Received: by 10.98.9.194 with SMTP id 63mr4985155pfj.56.1471334809937; Tue, 16 Aug 2016 01:06:49 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si31018342pae.99.2016.08.16.01.06.49; Tue, 16 Aug 2016 01:06:49 -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 S1751596AbcHPIGt (ORCPT + 4 others); Tue, 16 Aug 2016 04:06:49 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:35432 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750928AbcHPIGq (ORCPT ); Tue, 16 Aug 2016 04:06:46 -0400 Received: by mail-wm0-f49.google.com with SMTP id f65so128178902wmi.0 for ; Tue, 16 Aug 2016 01:06:46 -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=8SbWVYfUAnH/lAsm7PsLp3ohd1eP5ul48aVivbaG9Bo=; b=WTShtNjKYngyEFSW/M8SbUIu1JzDwa8HLTq7a9l/3s1aV/fPj5SbisknEnZg8hmAIs BMPE9hIBLFPUVblzyQuIYyd8+IQiTts65UCTGHDsA0EbCx+I9Tiamqn4Wnx9fRh4QICw 6vczkDe/atcjy3/wKXDHu7p14uCDQ2GsrN4h8= 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=8SbWVYfUAnH/lAsm7PsLp3ohd1eP5ul48aVivbaG9Bo=; b=H2t5hymZRJYD9WPyMdB8LcZsgn8omjWlhva+9trTlyl2WBfU25etyeOWMkBLnBEXjX TcF6AilECd7rpy5TXua8/TwpsfFJRkG8yg+lr4ADVhRLJUkfGIgYJPry0EfpLb+q9Jpv znEXP86MNhhCHNQt89XYGJRZcbyjJn0WPo9VMCBnlNiFRqRmHnWbXWQ864ieVbuOxJv9 5EzMwCZD5ufTTVnBbKkmncZeXW3j9gkzp+xkWrWDFDIDM63AJmkm/GiKny9UG1Ios/w2 b0puaBnzTzkcmQpi+v2Uzr6uFHJSexCwYKqxFk3Vp4Pm4+G0BYfL7qhcvpcWxbUQh10S tMMQ== X-Gm-Message-State: AEkoouuiC8t8tOTALqO6choYN5iQgJ/slfI0uxE6wxpVORpPVc/zktCWYgEYbZxWz6F9Wm5U X-Received: by 10.25.206.6 with SMTP id e6mr5420286lfg.182.1471334805077; Tue, 16 Aug 2016 01:06:45 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id 205sm614199ljj.47.2016.08.16.01.06.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Aug 2016 01:06:44 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij , stable@vger.kernel.org Subject: [PATCH] gpio: Fix OF build problem on UM Date: Tue, 16 Aug 2016 10:06:41 +0200 Message-Id: <1471334801-2814-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 The UserMode (UM) Linux build was failing in gpiolib-of as it requires ioremap()/iounmap() to exist, which is absent from UM. The non-existence of IO memory is negatively defined as CONFIG_NO_IOMEM so put a reverse dependency on !NO_IOMEM for OF_GPIO to fix the build. Cc: stable@vger.kernel.org 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 98dd47a30fc7..a6026f2fe7f5 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -50,6 +50,7 @@ config GPIO_DEVRES config OF_GPIO def_bool y depends on OF + depends on !NO_IOMEM config GPIO_ACPI def_bool y