diff options
| author | Conrad Meyer <cem@FreeBSD.org> | 2018-08-19 00:46:22 +0000 |
|---|---|---|
| committer | Conrad Meyer <cem@FreeBSD.org> | 2018-08-19 00:46:22 +0000 |
| commit | b8e771e97a39a88bbf6ebf8f31dcc820c91fe355 (patch) | |
| tree | f2f650a1268aff544f6cda15482de87cc0ebb65a /sys/dev/alc | |
| parent | faa319436f0d548cff97c2c8c763538997b63f34 (diff) | |
Notes
Diffstat (limited to 'sys/dev/alc')
| -rw-r--r-- | sys/dev/alc/if_alc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c index 1bafdab235d0..ede7bd49c193 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -244,7 +244,7 @@ static devclass_t alc_devclass; DRIVER_MODULE(alc, pci, alc_driver, alc_devclass, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, alc, alc_ident_table, - nitems(alc_ident_table) - 1); + sizeof(alc_ident_table[0]), nitems(alc_ident_table) - 1); DRIVER_MODULE(miibus, alc, miibus_driver, miibus_devclass, 0, 0); static struct resource_spec alc_res_spec_mem[] = { |
