Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1364862

[PATCH 3/8] phy: Fix phy-omap-control dependencies

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject [PATCH 3/8] phy: Fix phy-omap-control dependencies
Date 2016-03-25 23:50 +0100
Message-ID <rgIIi-6E-1@gated-at.bofh.it> (permalink)
References <rgIIi-6E-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Not all archs have io memory.

Fixes the following build error:
ERROR: "devm_ioremap_resource" [drivers/phy/phy-omap-control.ko] undefined!

Cc: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 78d2981..7856e7d 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -127,6 +127,7 @@ config PHY_RCAR_GEN3_USB2
 
 config OMAP_CONTROL_PHY
 	tristate "OMAP CONTROL PHY Driver"
+	depends on HAS_IOMEM
 	depends on ARCH_OMAP2PLUS || COMPILE_TEST
 	help
 	  Enable this to add support for the PHY part present in the control
-- 
1.8.4.5

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 3/8] phy: Fix phy-omap-control dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100

csiph-web