Module Name: src
Committed By: kardel
Date: Tue Oct 10 19:21:39 UTC 2023
Modified Files:
src/sys/dev/onewire: owtemp.c
Log Message:
PR kern/57088:
add missing "onewire" link dependency
Thanks Lloyd for pointing me to this PR as
I independently fixed the missing module functionality (and also missing the
link dependency).
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/onewire/owtemp.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/dev/onewire/owtemp.c
diff -u src/sys/dev/onewire/owtemp.c:1.20 src/sys/dev/onewire/owtemp.c:1.21
--- src/sys/dev/onewire/owtemp.c:1.20 Sun Aug 27 13:20:09 2023
+++ src/sys/dev/onewire/owtemp.c Tue Oct 10 19:21:38 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: owtemp.c,v 1.20 2023/08/27 13:20:09 kardel Exp $ */
+/* $NetBSD: owtemp.c,v 1.21 2023/10/10 19:21:38 kardel Exp $ */
/* $OpenBSD: owtemp.c,v 1.1 2006/03/04 16:27:03 grange Exp $ */
/*-
@@ -51,7 +51,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: owtemp.c,v 1.20 2023/08/27 13:20:09 kardel Exp $");
+__KERNEL_RCSID(0, "$NetBSD: owtemp.c,v 1.21 2023/10/10 19:21:38 kardel Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -318,7 +318,7 @@ owtemp_decode_ds1920(const uint8_t *buf)
return (temp + 273150000);
}
-MODULE(MODULE_CLASS_DRIVER, owtemp, NULL);
+MODULE(MODULE_CLASS_DRIVER, owtemp, "onewire");
#ifdef _MODULE
#include "ioconf.c"