* [PATCH -next] usb/misc: fix chaoskey build, needs HW_RANDOM
@ 2015-04-03 0:10 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2015-04-03 0:10 UTC (permalink / raw)
To: LKML, USB list, Greg Kroah-Hartman, keithp
From: Randy Dunlap <rdunlap@infradead.org>
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>
---
drivers/usb/misc/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20150402.orig/drivers/usb/misc/Kconfig
+++ linux-next-20150402/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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-03 0:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-03 0:10 [PATCH -next] usb/misc: fix chaoskey build, needs HW_RANDOM Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox