There is one compiling error in u2fzero_probe()->u2fzero_init_hwrng(),
this is because HW_RANDOM is not set.
drivers/hid/hid-u2fzero.o: In function `u2fzero_probe':
hid-u2fzero.c:(.text+0xc70): undefined reference to `devm_hwrng_register'
Fixes: 42337b9d4d958("HID: add driver for U2F Zero built-in LED and RNG")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Mao Wenan <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
tristate "U2F Zero LED and RNG support"
depends on USB_HID
depends on LEDS_CLASS
+ depends on HW_RANDOM
help
Support for the LED of the U2F Zero device.