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.
This commit is contained in:
Peter Wemm 2000-11-25 07:25:08 +00:00
parent 747fa57549
commit 5e12cd9b80
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69150

View File

@ -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;
}