hwrng: ks-sa - Add dependency on IOMEM and OF
[linux-2.6-microblaze.git] / drivers / char / hw_random / Kconfig
index eb0d51a..17c1df8 100644 (file)
@@ -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