aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gem
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/gem
parent94d0f0877db6bf0511dc0198e78b870618f42d3e (diff)
Notes
Diffstat (limited to 'sys/dev/gem')
-rw-r--r--sys/dev/gem/if_gem_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/gem/if_gem_pci.c b/sys/dev/gem/if_gem_pci.c
index af9db3da9c3e..ce3027fb3441 100644
--- a/sys/dev/gem/if_gem_pci.c
+++ b/sys/dev/gem/if_gem_pci.c
@@ -116,7 +116,7 @@ static driver_t gem_pci_driver = {
DRIVER_MODULE(gem, pci, gem_pci_driver, gem_devclass, 0, 0);
MODULE_PNP_INFO("W32:vendor/device", pci, gem, gem_pci_devlist,
- sizeof(gem_pci_devlist[0]), nitems(gem_pci_devlist) - 1);
+ nitems(gem_pci_devlist) - 1);
MODULE_DEPEND(gem, pci, 1, 1, 1);
MODULE_DEPEND(gem, ether, 1, 1, 1);