aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gem/if_gem_pci.c
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-08-19 00:46:22 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-08-19 00:46:22 +0000
commitb8e771e97a39a88bbf6ebf8f31dcc820c91fe355 (patch)
treef2f650a1268aff544f6cda15482de87cc0ebb65a /sys/dev/gem/if_gem_pci.c
parentfaa319436f0d548cff97c2c8c763538997b63f34 (diff)
downloadsrc-b8e771e97a39a88bbf6ebf8f31dcc820c91fe355.tar.gz
src-b8e771e97a39a88bbf6ebf8f31dcc820c91fe355.zip
Back out r338035 until Warner is finished churning GSoC PNP patches
I was not aware Warner was making or planning to make forward progress in this area and have since been informed of that. It's easy to apply/reapply when churn dies down.
Notes
Notes: svn path=/head/; revision=338037
Diffstat (limited to 'sys/dev/gem/if_gem_pci.c')
-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 ce3027fb3441..af9db3da9c3e 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,
- nitems(gem_pci_devlist) - 1);
+ sizeof(gem_pci_devlist[0]), nitems(gem_pci_devlist) - 1);
MODULE_DEPEND(gem, pci, 1, 1, 1);
MODULE_DEPEND(gem, ether, 1, 1, 1);