summaryrefslogtreecommitdiff
path: root/include/rng.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-02-13 00:44:47 +0100
committerTom Rini <trini@konsulko.com>2024-03-02 12:26:19 -0500
commit657bd30c6b3ee8c80a94ebfe7c8b5c4b027ae038 (patch)
treef4a374a28639225cd3209c68f777cd4843cf97a5 /include/rng.h
parent9a49f393e4d3f4e83a75bf51e8fd49a3fb615d7b (diff)
downloadu-boot-657bd30c6b3ee8c80a94ebfe7c8b5c4b027ae038.tar.gz
u-boot-657bd30c6b3ee8c80a94ebfe7c8b5c4b027ae038.tar.bz2
u-boot-657bd30c6b3ee8c80a94ebfe7c8b5c4b027ae038.zip
rng: eliminate common.h include from RNG drivers
Usage of common.h is deprecated. * Remove common.h from RNG drivers. * Sort includes. * Add time.h to sandbox driver. * Add linux/types.h to rng.h to provide size_t. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/rng.h')
-rw-r--r--include/rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rng.h b/include/rng.h
index 37af554363..87e26f5647 100644
--- a/include/rng.h
+++ b/include/rng.h
@@ -6,6 +6,8 @@
#if !defined _RNG_H_
#define _RNG_H_
+#include <linux/types.h>
+
struct udevice;
/**