From patchwork Sun Oct 2 21:53:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 77199 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1363808qgf; Sun, 2 Oct 2016 14:54:26 -0700 (PDT) X-Received: by 10.66.228.226 with SMTP id sl2mr31762578pac.131.1475445265916; Sun, 02 Oct 2016 14:54:25 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x29si33166072pfj.57.2016.10.02.14.54.25; Sun, 02 Oct 2016 14:54:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1751227AbcJBVyL (ORCPT + 8 others); Sun, 2 Oct 2016 17:54:11 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:36396 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbcJBVyL (ORCPT ); Sun, 2 Oct 2016 17:54:11 -0400 Received: by mail-lf0-f42.google.com with SMTP id b75so9098458lfg.3 for ; Sun, 02 Oct 2016 14:54:10 -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=hFx5Q1WCRH4mPCnh/UzKVCOWuyR7B7XUZZJITP0hDWo=; b=LnegXo+59K/CGTZYi4W2EHTvArYhw5bAEek1gJ9xh2Sivrn3cglCZE8YZ4Kc3k1nrZ sKjlBTON+8GxQVB/Rx9blHUN1+kdrKOWATwh9gyPNKCU9arsBfWxx8daol83W4klEcsa gzOZM483kXpq1H8nIPeaMKDAlCzqbvCqJOrCY= 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=hFx5Q1WCRH4mPCnh/UzKVCOWuyR7B7XUZZJITP0hDWo=; b=EXjzdrx6+KYuk9Bt85FKXD4d1/FNOp19Uz118795MydLdJ4JnqI93A7dTpNE2QPsIY CeQsmnKHYp3daALgXy9jOM6udg7oObvJpZjmXF7L1k+UWnoRN0j8dzeC3H8VO3WF9hVp pppeBB3xUcfNq+A/6UAXJScSCuMRvYfrQoV8Acwo32ell+aWRrRgvbIAGCwEZsjS0QFJ gK1uUUDrAcaZuAIaYGwNcy9P6c5f73Tsp7uND5JTMmthNuSRntT60LpjhBB0MyrJoBeN wEyKtGLvFKggvncEoW0PCg6MCgKLVAAf2km2sNACRQss7wWRCZ9RvBROzn7mBgUX//ab kp2Q== X-Gm-Message-State: AA6/9RncqFjkxaGVt7NCT9e+oAoFIfPJEKVFX/pHXOhrUQiJK+MgJp8RuWbQE9qE2wQBQEtj X-Received: by 10.25.203.141 with SMTP id b135mr1411382lfg.169.1475445249226; Sun, 02 Oct 2016 14:54:09 -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 204sm5114779ljj.2.2016.10.02.14.54.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Oct 2016 14:54:07 -0700 (PDT) From: Linus Walleij To: arm@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , Arnd Bergmann , Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM Date: Sun, 2 Oct 2016 23:53:59 +0200 Message-Id: <1475445239-25006-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org After being asked to not depend on ARCH_QCOM* or similar, unsurprisingly compilation fails on UM as it has no I/O memory: drivers/built-in.o: In function `qcom_ebi2_probe': >> drivers/bus/qcom-ebi2.c:333: undefined reference to `devm_ioremap_resource' Fix this by letting the Kconfig atleast depend on HAS_IOMEM. Reported-by: kbuild test robot Cc: Arnd Bergmann Cc: Andy Gross Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Linus Walleij --- ARM SoC maintainers: please apply this directly on the offending branch, or line it up for v4.9 fixes. --- drivers/bus/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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/bus/Kconfig b/drivers/bus/Kconfig index 5a2d47c71525..7010dcac9328 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -110,6 +110,7 @@ config OMAP_OCP2SCP config QCOM_EBI2 bool "Qualcomm External Bus Interface 2 (EBI2)" + depends on HAS_IOMEM help Say y here to enable support for the Qualcomm External Bus Interface 2, which can be used to connect things like NAND Flash,