Skip to content

Commit

Permalink
drivers: char: prerequisites for LRNG
Browse files Browse the repository at this point in the history
  • Loading branch information
amd64 committed Mar 23, 2022
1 parent b571cf9 commit 3177ba0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -8549,6 +8549,13 @@ F: Documentation/core-api/atomic_ops.rst
F: Documentation/core-api/refcount-vs-atomic.rst
F: Documentation/memory-barriers.txt

LINUX RANDOM NUMBER GENERATOR (LRNG) DRIVER
M: Stephan Mueller <[email protected]>
S: Maintained
W: https://www.chronox.de/lrng.html
F: drivers/char/lrng/*
F: include/linux/lrng.h

LIS3LV02D ACCELEROMETER DRIVER
M: Eric Piel <[email protected]>
S: Maintained
Expand Down
1 change: 1 addition & 0 deletions drivers/char/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -660,3 +660,4 @@ config RANDOM_TRUST_BOOTLOADER
pool. Otherwise, say N here so it will be regarded as device input that
only mixes the entropy pool.

source "drivers/char/lrng/Kconfig"
9 changes: 8 additions & 1 deletion drivers/char/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
# Makefile for the kernel character device drivers.
#

obj-y += mem.o random.o
obj-y += mem.o

ifeq ($(CONFIG_LRNG),y)
obj-y += lrng/
else
obj-y += random.o
endif

obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o
obj-y += misc.o
obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
Expand Down

0 comments on commit 3177ba0

Please sign in to comment.