Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/imx/fdt Fixed bug.



details:   https://anonhg.NetBSD.org/src/rev/1a422dc7769b
branches:  trunk
changeset: 1004732:1a422dc7769b
user:      hkenken <hkenken%NetBSD.org@localhost>
date:      Tue Nov 12 08:40:57 2019 +0000

description:
Fixed bug.

* typo

diffstat:

 sys/arch/arm/imx/fdt/if_enet_imx.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6646f5978558 -r 1a422dc7769b sys/arch/arm/imx/fdt/if_enet_imx.c
--- a/sys/arch/arm/imx/fdt/if_enet_imx.c        Tue Nov 12 08:35:56 2019 +0000
+++ b/sys/arch/arm/imx/fdt/if_enet_imx.c        Tue Nov 12 08:40:57 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_enet_imx.c,v 1.5 2019/11/12 05:09:29 hkenken Exp $  */
+/*     $NetBSD: if_enet_imx.c,v 1.6 2019/11/12 08:40:57 hkenken Exp $  */
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
  * Written by Hashimoto Kenichi for Genetec Corporation.
@@ -25,7 +25,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.5 2019/11/12 05:09:29 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.6 2019/11/12 08:40:57 hkenken Exp $");
 
 #include "opt_fdt.h"
 
@@ -91,7 +91,7 @@
        }
 
        sc->sc_clk_ipg = fdtbus_clock_get(phandle, "ipg");
-       if (sc->sc_clk_enet == NULL) {
+       if (sc->sc_clk_ipg == NULL) {
                aprint_error(": couldn't get clock ipg\n");
                goto failure;
        }



Home | Main Index | Thread Index | Old Index