Skip to content

Commit

Permalink
hwrng: ks-sa - Add dependency on IOMEM and OF
Browse files Browse the repository at this point in the history
This patch adds a dependency for KEYSTONE on HAS_IOMEM and OF to
prevent COMPILE_TEST build failures.

Reported-by: kernel test robot <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
herbertx committed Dec 4, 2020
1 parent ce0d5d6 commit a1315dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/hw_random/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ config HW_RANDOM_NPCM

config HW_RANDOM_KEYSTONE
depends on ARCH_KEYSTONE || COMPILE_TEST
depends on HAS_IOMEM && OF
default HW_RANDOM
tristate "TI Keystone NETCP SA Hardware random number generator"
help
Expand Down

0 comments on commit a1315dc

Please sign in to comment.