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 Fixed bug.



details:   https://anonhg.NetBSD.org/src/rev/ae26d5a9c55a
branches:  trunk
changeset: 846621:ae26d5a9c55a
user:      hkenken <hkenken%NetBSD.org@localhost>
date:      Mon Nov 25 00:54:47 2019 +0000

description:
Fixed bug.

* typo

diffstat:

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

diffs (27 lines):

diff -r 9da37aa8ed25 -r ae26d5a9c55a sys/arch/arm/imx/if_enet_imx6.c
--- a/sys/arch/arm/imx/if_enet_imx6.c   Sun Nov 24 23:26:43 2019 +0000
+++ b/sys/arch/arm/imx/if_enet_imx6.c   Mon Nov 25 00:54:47 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_enet_imx6.c,v 1.7 2019/11/12 05:09:29 hkenken Exp $ */
+/*     $NetBSD: if_enet_imx6.c,v 1.8 2019/11/25 00:54:47 hkenken Exp $ */
 
 /*
  * Copyright (c) 2014 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_enet_imx6.c,v 1.7 2019/11/12 05:09:29 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_enet_imx6.c,v 1.8 2019/11/25 00:54:47 hkenken Exp $");
 
 #include "locators.h"
 #include "imxccm.h"
@@ -132,7 +132,7 @@
        }
 
        sc->sc_clk_ipg = imx6_get_clock("enet");
-       if (sc->sc_clk_enet == NULL) {
+       if (sc->sc_clk_ipg == NULL) {
                aprint_error(": couldn't get clock ipg\n");
                return;
        }



Home | Main Index | Thread Index | Old Index