svn commit: r271094 - head/sys/arm/freescale/imx
Ian Lepore
ian at FreeBSD.org
Thu Sep 4 13:13:43 UTC 2014
Author: ian
Date: Thu Sep 4 13:13:42 2014
New Revision: 271094
URL: http://svnweb.freebsd.org/changeset/base/271094
Log:
Fix typo in variable name.
Modified:
head/sys/arm/freescale/imx/imx51_iomux.c
Modified: head/sys/arm/freescale/imx/imx51_iomux.c
==============================================================================
--- head/sys/arm/freescale/imx/imx51_iomux.c Thu Sep 4 12:44:40 2014 (r271093)
+++ head/sys/arm/freescale/imx/imx51_iomux.c Thu Sep 4 13:13:42 2014 (r271094)
@@ -222,7 +222,7 @@ imx_iomux_gpr_get(u_int regnum)
{
KASSERT(iomuxsc != NULL, ("imx_iomux_gpr_get() called before attach"));
- KASSERT(regnum >= 0 && renum <= 1,
+ KASSERT(regnum >= 0 && regnum <= 1,
("imx_iomux_gpr_get bad regnum %u", regnum));
return (IOMUX_READ(iomuxsc, IOMUXC_GPR0 + regnum));
}
@@ -232,7 +232,7 @@ imx_iomux_gpr_set(u_int regnum, uint32_t
{
KASSERT(iomuxsc != NULL, ("imx_iomux_gpr_set() called before attach"));
- KASSERT(regnum >= 0 && renum <= 1,
+ KASSERT(regnum >= 0 && regnum <= 1,
("imx_iomux_gpr_set bad regnum %u", regnum));
IOMUX_WRITE(iomuxsc, IOMUXC_GPR0 + regnum, val);
}
@@ -244,7 +244,7 @@ imx_iomux_gpr_set_masked(u_int regnum, u
KASSERT(iomuxsc != NULL,
("imx_iomux_gpr_set_masked called before attach"));
- KASSERT(regnum >= 0 && renum <= 1,
+ KASSERT(regnum >= 0 && regnum <= 1,
("imx_iomux_gpr_set_masked bad regnum %u", regnum));
val = IOMUX_READ(iomuxsc, IOMUXC_GPR0 + regnum);
More information about the svn-src-all
mailing list