From patchwork Mon Oct 15 01:31:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 148806 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3240610lji; Sun, 14 Oct 2018 18:34:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV60hP8erYTBaqwRR9E24NifnfOufFSZxvbNvzGD+yJdjwxb+hJqcXHMq+UnPI+eXKu+KAzZa X-Received: by 2002:a62:90db:: with SMTP id q88-v6mr15284340pfk.98.1539567254307; Sun, 14 Oct 2018 18:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539567254; cv=none; d=google.com; s=arc-20160816; b=Z7Oz0B9tHfEcW3X/1jG+rrprraqScr3pG/bVR7elQMJXh5Xp75gTpeVLz++p4JwbHq UY/jC7yRanPWB0Ae9HC2PRMOZ28eU9xgOH3A+MOmxIsFKdBpkEzpCU2BY5WrRRO3Evey g6JiFIKoR8jZdi7HT+us8Zu6zxTVlTxZUzvULP9C1/n8w7aKS8XDuDlJkoclNWIjiHSU kN/cBITwfjU0QcJQLyjjnPMpeeHE2exXJO0Yf7g7zRQOF0czBxoWErQWOlfA919WqmAU 04X+mpa5mfMC2TgyRJStToF5guW+6H7ZXk1qgv5HlEII1sfAjpnJfrEGpOVxlVGh2oIV bflw== 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; bh=jadmJWsvz1YnhSYi+wE4yzN5jl9bb4WgClHp+ikiceU=; b=NTSGXG8xSubnBPYkp9RLZwaOYPSoC8aC+l8NfCG70Vsly225iz716UMiAuJ+r2p+GT GDFvjwmNUQI0guitmhU5icN8sE6ox3XbQPSVMV6BY49zYhy8iHHcwWOr8sHjzGrpGO0Z AIOyPp4B8D3Q/cPVj+wLQduQgboWzIJUsFTSG9Ql3JJ2GOARnO3J/9o3mK+0oTBswyxe sOghD3PAX6z4wIrZ2zNVtfw41Txm4b9wjU+4Oc+x6hODvFezO/ONGM0AR6ufOd1Y4iJT nS+XDcMulvdPFDkc3UoHaYas8O30MP87oYmsC5crzDwABoQ+wNa7drSoRLtjH5TjPkuZ QOQA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s5-v6si8932818pgm.448.2018.10.14.18.34.12; Sun, 14 Oct 2018 18:34:14 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726530AbeJOJOk (ORCPT + 32 others); Mon, 15 Oct 2018 05:14:40 -0400 Received: from mx.socionext.com ([202.248.49.38]:12481 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726453AbeJOJOk (ORCPT ); Mon, 15 Oct 2018 05:14:40 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 15 Oct 2018 10:31:40 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 7E9921800B2; Mon, 15 Oct 2018 10:31:40 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Mon, 15 Oct 2018 10:31:40 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 2219E1A1210; Mon, 15 Oct 2018 10:31:40 +0900 (JST) From: Kunihiko Hayashi To: Kishon Vijay Abraham I , Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH] phy: uniphier-pcie: Depend on HAS_IOMEM Date: Mon, 15 Oct 2018 10:31:30 +0900 Message-Id: <1539567090-10498-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver uses devm_ioremap_resource() which is only available when CONFIG_HAS_IOMEM is set, so the driver depends on this option. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/phy/socionext/Kconfig b/drivers/phy/socionext/Kconfig index 467e814..9c85231 100644 --- a/drivers/phy/socionext/Kconfig +++ b/drivers/phy/socionext/Kconfig @@ -26,7 +26,8 @@ config PHY_UNIPHIER_USB3 config PHY_UNIPHIER_PCIE tristate "Uniphier PHY driver for PCIe controller" - depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF + depends on ARCH_UNIPHIER || COMPILE_TEST + depends on OF && HAS_IOMEM default PCIE_UNIPHIER select GENERIC_PHY help