do_product_lookup should return a const struct pccard_product *.

This commit is contained in:
Warner Losh 2009-02-05 19:39:07 +00:00
parent 73e04c0b84
commit 102720b585

View File

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