summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-03-02 09:20:30 -0500
committerTom Rini <trini@konsulko.com>2020-03-02 09:20:30 -0500
commit8aad16916d04e3db0d1652cb96e840e209e19252 (patch)
tree0e06639b31199dcaf51ea01a8125b764e773d75e /drivers
parentbd7bb38699412bf95449bf9f23aa625c0436eae6 (diff)
parentefa667d38bb8bdd548972e10d02d830d9256602d (diff)
Merge tag 'u-boot-stm32-20200203' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm
- convert stm32mp1 board documentation to rst format
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rng/stm32mp1_rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rng/stm32mp1_rng.c b/drivers/rng/stm32mp1_rng.c
index dab3b995eb..e0f0a66c6e 100644
--- a/drivers/rng/stm32mp1_rng.c
+++ b/drivers/rng/stm32mp1_rng.c
@@ -33,7 +33,7 @@ struct stm32_rng_platdata {
static int stm32_rng_read(struct udevice *dev, void *data, size_t len)
{
- int retval = 0, i;
+ int retval, i;
u32 sr, count, reg;
size_t increment;
struct stm32_rng_platdata *pdata = dev_get_platdata(dev);