Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f817065 authored by Jebaitedneko's avatar Jebaitedneko Committed by Gagan Malvi
Browse files

char: mem: register /dev/hw_random through devmem framework when HW_RANDOM is unset

parent 85df955f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -859,6 +859,9 @@ static const struct memdev {
	 [8] = { "random", 0666, &random_fops, 0 },
	 [9] = { "urandom", 0666, &urandom_fops, 0 },
	#endif
	#ifndef CONFIG_HW_RANDOM
	 [10] = { "hw_random", 0666, &urandom_fops, 0 },
	#endif
#ifdef CONFIG_PRINTK
	[11] = { "kmsg", 0644, &kmsg_fops, 0 },
#endif