From patchwork Wed Jan 3 09:32:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 123289 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp9957103qgn; Wed, 3 Jan 2018 01:34:17 -0800 (PST) X-Google-Smtp-Source: ACJfBossrx7iX7OJWwEQHIjCXYtE4cKlGhTp6hvL+ynFLI5vB+hG0zqwB4DTKDtZgRO1CK80iJ74 X-Received: by 10.84.240.139 with SMTP id z11mr855148plk.348.1514972057278; Wed, 03 Jan 2018 01:34:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514972057; cv=none; d=google.com; s=arc-20160816; b=zTyPuC88SAGoCG/OR/qOZ1kjCbUSGecffnLm/ToG6PmZ9l2AMuZUSRoP0IW+Fz9u13 6eTfWbnBhkgptbEof1ZRsjbCWT0XZmjHBo+BQK95UXHuepA+Wy+9y/7ZTUhq5WSlgxKl 4EK46s20zCjk8deUfnl0Hvb6NmWyjlf5tkBezDpRIOPPjJQsMc3GWIQz7C3PpQ9yUpyr 2jSP+3npq1227dU4p1Sura5YJbPUNRdqQtS4b7Vdbtgt9SL5+B8w0FGY8KE3KuUrd2n4 TJ4vo6ZiboFiNUf74JvAJ8D2CZa9IZS8LH+0UY4J+2Dx+cj0yNN92jAD8sY8CA+kzkhw EnIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=2EbyeljMRBpgS9oK1vPVmAJ7XNHwlf1WBo/S/5vDVQ8=; b=iNAGcuGOKil8wosSlmI6qJIX5hCKcoFLzTdEsJdJoF7Lh3nLdp7chslSRbBjWZ6Ymf aZ709QRBmh7CqWDIxY7e0ryJH/6gYvT1tHiBSbbnddG+wg3V3lL2FAFzAf1Oot7U3YRF keVuCZewVchsqsCRGIPeGNQMgj0xb6MT1ODv+ANCSihXBNBbdImiLa0+sr0p7fhM/qfp wzMGjLiMLT7IdxW3OPmp+k8CYeJNnceQ8wSSkifrR4LrHA2XyCJIiAu/jxAOc8M6GNY8 1sataajpKUaCvoOU1J+PmryKNBSJWlZUvwCKaRtIy39mk3l/Ow7+oOfsXC6KJy36gDVY 23+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ujz2oeFV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si459664pld.564.2018.01.03.01.34.16; Wed, 03 Jan 2018 01:34:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ujz2oeFV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752229AbeACJeM (ORCPT + 28 others); Wed, 3 Jan 2018 04:34:12 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:41872 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752201AbeACJeJ (ORCPT ); Wed, 3 Jan 2018 04:34:09 -0500 Received: by mail-wr0-f193.google.com with SMTP id p69so906832wrb.8 for ; Wed, 03 Jan 2018 01:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=2EbyeljMRBpgS9oK1vPVmAJ7XNHwlf1WBo/S/5vDVQ8=; b=Ujz2oeFVdVp9ShK/W4uZHNpeY/4t1E3ybOdmqkISmTn+RcCXP534ZDlFF9w62Ya+V1 wZPtVzBtOHKd44J/r1YHUhmfnnDjUBLeA3n+a76h3HFRUDFIN4slhoV+1QWshmQaYfEQ 44RiMmLuvawjtwLO5OQ/ZrKmCr3sjc44nv/fg= 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; bh=2EbyeljMRBpgS9oK1vPVmAJ7XNHwlf1WBo/S/5vDVQ8=; b=HD/3lqO8WfVn3PjlkXkW2wVSFKbGgNYIOYhfUu+lDYj3DElKtNJQAooVo8iVYoJqmg +nHmB6g+qYMNxzrSbuFVaD9L4OO4b1naw0WXGC/ByaPmLz8eWt6so3bdied8DQwPb0C6 V7vCWcir2pS5uoUBTogebGudH5+yZNiiBEurHd4tMjUt1J9T/AmDhQfLV/s6AmWJmaZh abfbs55kxxfFX2thNKk4ZuFCQaLk0bTp6ky2VC3C+BxUWTNh3g2GfUzVlTr4XgVlq+gA rZQ5mJPjbg2+51JmZQhg9igb4sln1P6CSM6ZeOdqy9pavZzTvYLlaWf2QzFcevX2fJPm Q8rg== X-Gm-Message-State: AKGB3mK7WczIa/dKkX5baMocOH1ktJq/eNVAw4dLE4ITyUFGMcwGsUpV 4J8DWlvNUROVV94ix5a2FWJeZ4SAmi8= X-Received: by 10.223.192.129 with SMTP id d1mr955302wrf.179.1514972048594; Wed, 03 Jan 2018 01:34:08 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id o16sm919741wmi.29.2018.01.03.01.34.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jan 2018 01:34:08 -0800 (PST) From: srinivas.kandagatla@linaro.org To: Greg Kroah-Hartman Cc: sdharia@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH] slimbus: qcom: add HAS_IOMEM dependency Date: Wed, 3 Jan 2018 09:32:04 +0000 Message-Id: <20180103093204.24166-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla Below build failure was reported on UML, ERROR: "devm_ioremap_resource" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__ioread32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__iowrite32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "devm_ioremap" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! This patch fixes it by making qcom slimbus depend on HAS_IOMEM, as these are only defined when HAS_IOMEM is selected. Reported-by: Thomas Meyer Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.15.0 diff --git a/drivers/slimbus/Kconfig b/drivers/slimbus/Kconfig index 78bdd4808282..1a632fad597e 100644 --- a/drivers/slimbus/Kconfig +++ b/drivers/slimbus/Kconfig @@ -16,6 +16,7 @@ if SLIMBUS config SLIM_QCOM_CTRL tristate "Qualcomm SLIMbus Manager Component" depends on SLIMBUS + depends on HAS_IOMEM help Select driver if Qualcomm's SLIMbus Manager Component is programmed using Linux kernel.