[<prev] [next>] [day] [month] [year] [list]
Message-ID: <551DDA8F.1060004@infradead.org>
Date: Thu, 02 Apr 2015 17:10:55 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
keithp@...thp.com
Subject: [PATCH -next] usb/misc: fix chaoskey build, needs HW_RANDOM
From: Randy Dunlap <rdunlap@...radead.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@...radead.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists