diff options
author | peter <peter@FreeBSD.org> | 2000-11-25 07:25:08 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-11-25 07:25:08 +0000 |
commit | b7953dc82c03200b85cfbc7ea6a82a63f35a6971 (patch) | |
tree | a0ef326329fd8ea890f5cbbe7253958652da01fe /sys/dev/ed | |
parent | f3b673b4a9cc4ac1ca9914931bd4c0051799200a (diff) | |
download | FreeBSD-src-b7953dc82c03200b85cfbc7ea6a82a63f35a6971.zip FreeBSD-src-b7953dc82c03200b85cfbc7ea6a82a63f35a6971.tar.gz |
Argh, I have fixed this cut/paste error twice before. I must have
committed the wrong patch. :-( sn_pccard_products[] should have
been static anyway.
Diffstat (limited to 'sys/dev/ed')
-rw-r--r-- | sys/dev/ed/if_ed_pccard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 8654912..6912456 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -116,7 +116,7 @@ ed_pccard_detach(device_t dev) return (0); } -const struct pccard_product sn_pccard_products[] = { +static const struct pccard_product ed_pccard_products[] = { { PCCARD_STR_KINGSTON_KNE2, PCCARD_VENDOR_KINGSTON, PCCARD_PRODUCT_KINGSTON_KNE2, 0, NULL, NULL }, { NULL } @@ -127,8 +127,8 @@ ed_pccard_match(device_t dev) { const struct pccard_product *pp; - if ((pp = pccard_product_lookup(dev, sn_pccard_products, - sizeof(sn_pccard_products[0]), NULL)) != NULL) { + if ((pp = pccard_product_lookup(dev, ed_pccard_products, + sizeof(ed_pccard_products[0]), NULL)) != NULL) { device_set_desc(dev, pp->pp_name); return 0; } |