diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-09-11 14:17:31 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-09-12 11:27:19 +0200 |
commit | d1bf87500c264d9503069a2edbddb91aa0b7d65d (patch) | |
tree | 2c0e5f3fb741a7876f22945d5d009e86a9e724f7 /include/linux/hw_random.h | |
parent | 8b33c73de1c336e0a85a3829982e63a3de0fb01a (diff) | |
download | barebox-d1bf87500c264d9503069a2edbddb91aa0b7d65d.tar.gz barebox-d1bf87500c264d9503069a2edbddb91aa0b7d65d.tar.xz |
lib: random: make linux/hw_random.h header self-contained
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@pengutronix.de>
Link: https://lore.barebox.org/20230911121731.2661717-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/hw_random.h')
-rw-r--r-- | include/linux/hw_random.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hw_random.h b/include/linux/hw_random.h index fad41b6880..9143ba1f8d 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 |