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: 9359809 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 754A0601C0 for ; Sun, 2 Oct 2016 21:54:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5117E28A3E for ; Sun, 2 Oct 2016 21:54:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 319A028A65; Sun, 2 Oct 2016 21:54:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1595528A3E for ; Sun, 2 Oct 2016 21:54:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751227AbcJBVyL (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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,