summaryrefslogtreecommitdiff
path: root/drivers/rng/iproc_rng200.c
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 /drivers/rng/iproc_rng200.c
parent9a49f393e4d3f4e83a75bf51e8fd49a3fb615d7b (diff)
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 'drivers/rng/iproc_rng200.c')
-rw-r--r--drivers/rng/iproc_rng200.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rng/iproc_rng200.c b/drivers/rng/iproc_rng200.c
index 85ac15bf9ca..4c49aa9e444 100644
--- a/drivers/rng/iproc_rng200.c
+++ b/drivers/rng/iproc_rng200.c
@@ -5,11 +5,10 @@
* Driver for Raspberry Pi hardware random number generator
*/
-#include <common.h>
#include <dm.h>
-#include <linux/delay.h>
#include <rng.h>
#include <asm/io.h>
+#include <linux/delay.h>
#define usleep_range(a, b) udelay((b))