diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-02-13 00:44:47 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-02 12:26:19 -0500 |
commit | 657bd30c6b3ee8c80a94ebfe7c8b5c4b027ae038 (patch) | |
tree | f4a374a28639225cd3209c68f777cd4843cf97a5 /drivers/rng/stm32_rng.c | |
parent | 9a49f393e4d3f4e83a75bf51e8fd49a3fb615d7b (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/stm32_rng.c')
-rw-r--r-- | drivers/rng/stm32_rng.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rng/stm32_rng.c b/drivers/rng/stm32_rng.c index c397b4d95cd..61d5ed61582 100644 --- a/drivers/rng/stm32_rng.c +++ b/drivers/rng/stm32_rng.c @@ -5,16 +5,14 @@ #define LOG_CATEGORY UCLASS_RNG -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> #include <reset.h> #include <rng.h> +#include <asm/io.h> #include <linux/bitops.h> #include <linux/delay.h> - -#include <asm/io.h> #include <linux/iopoll.h> #include <linux/kernel.h> |