[PATCH] lib: random: make linux/hw_random.h header self-contained

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



struct hwrng defined in the file embeds a struct device, so inclusion
of the header defining it is in order.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 include/linux/hw_random.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/hw_random.h b/include/linux/hw_random.h
index fad41b688063..9143ba1f8d4c 100644
--- a/include/linux/hw_random.h
+++ b/include/linux/hw_random.h
@@ -14,6 +14,7 @@
 #define LINUX_HWRANDOM_H_
 
 #include <linux/list.h>
+#include <driver.h>
 
 /**
  * struct hwrng - Hardware Random Number Generator driver
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux