usb/misc: fix chaoskey build, needs HW_RANDOM
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 3 Apr 2015 00:10:55 +0000 (17:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:15 +0000 (19:03 +0200)
commitd9aab404e60d122ded979fa0b81db42fb680d867
tree827b1600fccf9ce75ca3636aa3a965c04e993bd0
parentc6ab3aec4bc4beda2d6eb8ea43c6f5be3b215d3f
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>
drivers/usb/misc/Kconfig