From 102720b58591c19943d836c78885f925dffc0d2e Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 5 Feb 2009 19:39:07 +0000 Subject: [PATCH] do_product_lookup should return a const struct pccard_product *. --- sys/dev/pccard/card_if.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pccard/card_if.m b/sys/dev/pccard/card_if.m index 3cf814c54271..43919e3f870e 100644 --- a/sys/dev/pccard/card_if.m +++ b/sys/dev/pccard/card_if.m @@ -93,7 +93,7 @@ METHOD int detach_card { # # Find "dev" in the passed table of devices. Return it or NULL. # -METHOD struct pccard_product * do_product_lookup { +METHOD const struct pccard_product * do_product_lookup { device_t bus; device_t dev; const struct pccard_product *tab;