From 5e12cd9b804e6e47aafa99d0c091a183a7546b4d Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 25 Nov 2000 07:25:08 +0000 Subject: 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. --- sys/dev/ed/if_ed_pccard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 86549128b39d..691245693843 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; } -- cgit v1.3