aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/amdtemp
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-09-26 17:12:14 +0000
committerWarner Losh <imp@FreeBSD.org>2018-09-26 17:12:14 +0000
commit329e817fcc97aa847765c5171cc89a81a0b25527 (patch)
treeef997f398912dc47f9b0b15d284552e6c6bdc0cc /sys/dev/amdtemp
parentc5bf4b1bc690dc122ed4a472672d97af64baab5f (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)