[lkml]   [2020]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 5.5 070/150] fsi: aspeed: add unspecified HAS_IOMEM dependency
From: Brendan Higgins <>

commit ea3d147a474cb522bfdfe68f1f2557750dcf41dd upstream.

Currently CONFIG_FSI_MASTER_ASPEED=y implicitly depends on
CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get
the following build error:

ld: drivers/fsi/fsi-master-aspeed.o: in function `fsi_master_aspeed_probe':
drivers/fsi/fsi-master-aspeed.c:436: undefined reference to `devm_ioremap_resource'

Fix the build error by adding the unspecified dependency.

Fixes: 606397d67f41 ("fsi: Add ast2600 master driver")
Reported-by: Brendan Higgins <>
Signed-off-by: Brendan Higgins <>
Reviewed-by: Joel Stanley <>
Signed-off-by: Joel Stanley <>
Signed-off-by: Greg Kroah-Hartman <>

drivers/fsi/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/fsi/Kconfig
+++ b/drivers/fsi/Kconfig
@@ -55,6 +55,7 @@ config FSI_MASTER_AST_CF

tristate "FSI ASPEED master"
+ depends on HAS_IOMEM
This option enables a FSI master that is present behind an OPB bridge
in the AST2600.

 \ /
  Last update: 2020-02-27 15:15    [W:0.531 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site