mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
PC Card PNP tables are terminated by a NULL sentinel. This shouldn't
be recorded in the linker hints, so subtract one to omit it.
This commit is contained in:
parent
f1ab57eead
commit
56f3600c8b
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ struct pccard_product {
|
|||
*/
|
||||
#define PCCARD_PNP_DESCR "D:#;V32:manufacturer;V32:product;Z:cisvendor;Z:cisproduct;"
|
||||
#define PCCARD_PNP_INFO(t) \
|
||||
MODULE_PNP_INFO(PCCARD_PNP_DESCR, pccard, t, t, sizeof(t[0]), sizeof(t) / sizeof(t[0])); \
|
||||
MODULE_PNP_INFO(PCCARD_PNP_DESCR, pccard, t, t, sizeof(t[0]), sizeof(t) / sizeof(t[0]) - 1); \
|
||||
|
||||
typedef int (*pccard_product_match_fn) (device_t dev,
|
||||
const struct pccard_product *ent, int vpfmatch);
|
||||
|
|
|
|||
Loading…
Reference in a new issue