Skip to content

Commit

Permalink
ARC: reset: Only build on archs that have IOMEM
Browse files Browse the repository at this point in the history
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: Thomas Meyer <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
  • Loading branch information
thomasmey authored and pH5 committed Sep 18, 2017
1 parent 2bd6bf0 commit 2d48a23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/reset/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2d48a23

Please sign in to comment.