summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2020-05-17 22:19:43 +0000
committerkettenis <kettenis@openbsd.org>2020-05-17 22:19:43 +0000
commit299b5045cb779281d45b55914c75ffc75f367984 (patch)
tree7732927ff75a7fb43cb11f05f98bb18882ec47dd
parentAdd support for the SM1 variant and (probably) fix support for the CPU (diff)
downloadwireguard-openbsd-299b5045cb779281d45b55914c75ffc75f367984.tar.xz
wireguard-openbsd-299b5045cb779281d45b55914c75ffc75f367984.zip
Fix typo in comment.
-rw-r--r--sys/dev/fdt/amlmmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/amlmmc.c b/sys/dev/fdt/amlmmc.c
index b0bb6faca93..db7b2f353ba 100644
--- a/sys/dev/fdt/amlmmc.c
+++ b/sys/dev/fdt/amlmmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amlmmc.c,v 1.4 2019/09/02 08:21:15 kettenis Exp $ */
+/* $OpenBSD: amlmmc.c,v 1.5 2020/05/17 22:19:43 kettenis Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
@@ -497,7 +497,7 @@ amlmmc_bus_clock(sdmmc_chipset_handle_t sch, int freq, int timing)
if (freq == 0)
return 0;
- /* Convert clock frequency from MHz to Hz. */
+ /* Convert clock frequency from kHz to Hz. */
freq = freq * 1000;
if (freq < (sc->sc_clkin1 / SD_EMMC_CLOCK_DIV_MAX)) {