Module Name: src
Committed By: hkenken
Date: Mon Nov 25 00:54:47 UTC 2019
Modified Files:
src/sys/arch/arm/imx: if_enet_imx6.c
Log Message:
Fixed bug.
* typo
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/imx/if_enet_imx6.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/imx/if_enet_imx6.c
diff -u src/sys/arch/arm/imx/if_enet_imx6.c:1.7 src/sys/arch/arm/imx/if_enet_imx6.c:1.8
--- src/sys/arch/arm/imx/if_enet_imx6.c:1.7 Tue Nov 12 05:09:29 2019
+++ src/sys/arch/arm/imx/if_enet_imx6.c Mon Nov 25 00:54:47 2019
@@ -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 <[email protected]>
@@ -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 @@ enet_attach(device_t parent, device_t se
}
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;
}