diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2015-04-03 02:10:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 19:03:15 +0200 |
commit | d9aab404e60d122ded979fa0b81db42fb680d867 (patch) | |
tree | 827b1600fccf9ce75ca3636aa3a965c04e993bd0 /drivers/usb/misc | |
parent | usb: phy: rcar-gen2-usb: Fix USBHS_UGSTS_LOCK value (diff) | |
download | linux-d9aab404e60d122ded979fa0b81db42fb680d867.tar.xz linux-d9aab404e60d122ded979fa0b81db42fb680d867.zip |
usb/misc: fix chaoskey build, needs HW_RANDOM
Fix build errors when HW_RANDOM is not enabled:
drivers/built-in.o: In function `chaoskey_disconnect':
chaoskey.c:(.text+0x5f3f00): undefined reference to `hwrng_unregister'
drivers/built-in.o: In function `chaoskey_probe':
chaoskey.c:(.text+0x5f42a6): undefined reference to `hwrng_register'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r-- | drivers/usb/misc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index 8c331f1dfd23..f7a7fc21be8a 100644 --- a/drivers/usb/misc/Kconfig +++ b/drivers/usb/misc/Kconfig @@ -258,6 +258,7 @@ config USB_LINK_LAYER_TEST config USB_CHAOSKEY tristate "ChaosKey random number generator driver support" + depends on HW_RANDOM help Say Y here if you want to connect an AltusMetrum ChaosKey to your computer's USB port. The ChaosKey is a hardware random |