diff options
Diffstat (limited to 'net/net_rand.h')
-rw-r--r-- | net/net_rand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/net_rand.h b/net/net_rand.h index d3c5559..686e85f 100644 --- a/net/net_rand.h +++ b/net/net_rand.h @@ -42,7 +42,7 @@ static inline void srand_mac(void) struct udevice *devp; u32 randv = 0; - if (IS_ENABLED(CONFIG_DM_RNG)) { + if (CONFIG_IS_ENABLED(DM_RNG)) { ret = uclass_get_device(UCLASS_RNG, 0, &devp); if (ret) { ret = dm_rng_read(devp, &randv, sizeof(randv)); |