]> Git Repo - J-u-boot.git/blobdiff - net/net_rand.h
Merge patch series "mediatek: cumulative trivial fix for OF_UPSTREAM support"
[J-u-boot.git] / net / net_rand.h
index d3c5559adfd43d13991951f3ee6cbb702cbe7abf..686e85f2b53704192724b0a99260bf7300c2b5d7 100644 (file)
@@ -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));
This page took 0.024534 seconds and 4 git commands to generate.