aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/amdtemp
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-08-19 00:22:21 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-08-19 00:22:21 +0000
commitfaa319436f0d548cff97c2c8c763538997b63f34 (patch)
tree83d929a61077c1eee88b03c7698a3fcbfab6df73 /sys/dev/amdtemp
parent94d0f0877db6bf0511dc0198e78b870618f42d3e (diff)
Notes
Diffstat (limited to 'sys/dev/amdtemp')
-rw-r--r--sys/dev/amdtemp/amdtemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c
index 45f8d6397ed0..2463212c25f5 100644
--- a/sys/dev/amdtemp/amdtemp.c
+++ b/sys/dev/amdtemp/amdtemp.c
@@ -167,7 +167,7 @@ DRIVER_MODULE(amdtemp, hostb, amdtemp_driver, amdtemp_devclass, NULL, NULL);
MODULE_VERSION(amdtemp, 1);
MODULE_DEPEND(amdtemp, amdsmn, 1, 1, 1);
MODULE_PNP_INFO("U16:vendor;U16:device", pci, amdtemp, amdtemp_products,
- sizeof(amdtemp_products[0]), nitems(amdtemp_products));
+ nitems(amdtemp_products));
static int
amdtemp_match(device_t dev)