[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1458945655-5027-4-git-send-email-richard@nod.at>
Date: Fri, 25 Mar 2016 23:40:51 +0100
From: Richard Weinberger <richard@....at>
To: linux-kernel@...r.kernel.org
Cc: linux-iio@...r.kernel.org, Richard Weinberger <richard@....at>,
Kishon Vijay Abraham I <kishon@...com>
Subject: [PATCH 4/8] phy: Fix phy-bcm-cygnus-pcie dependencies
Not all archs have io memory.
Fixes the following build error:
ERROR: "devm_ioremap_resource" [drivers/phy/phy-bcm-cygnus-pcie.ko] undefined!
Cc: Kishon Vijay Abraham I <kishon@...com>
Signed-off-by: Richard Weinberger <richard@....at>
---
drivers/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 7856e7d..d209eb1 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -416,6 +416,7 @@ config PHY_BRCMSTB_SATA
config PHY_CYGNUS_PCIE
tristate "Broadcom Cygnus PCIe PHY driver"
+ depends on HAS_IOMEM
depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
select GENERIC_PHY
default ARCH_BCM_CYGNUS
--
1.8.4.5
Powered by blists - more mailing lists