提交 2d48a237 编写于 作者: T Thomas Meyer 提交者: Philipp Zabel

ARC: reset: Only build on archs that have IOMEM

This avoids the error:
drivers/reset/reset-hsdk-v1.o: In function `hsdkv1_reset_probe':
/home/thomas/git/linux/drivers/reset/reset-hsdk-v1.c:101: undefined
reference to `devm_ioremap_resource'
collect2: error: ld returned 1 exit status
Signed-off-by: NThomas Meyer <thomas@m3y3r.de>
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
上级 2bd6bf03
......@@ -36,6 +36,7 @@ config RESET_BERLIN
config RESET_HSDK_V1
bool "HSDK v1 Reset Driver"
depends on HAS_IOMEM
default n
help
This enables the reset controller driver for HSDK v1.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册