svn commit: r188180 - head/sys/dev/pccard

Warner Losh imp at FreeBSD.org
Thu Feb 5 11:39:08 PST 2009


Author: imp
Date: Thu Feb  5 19:39:07 2009
New Revision: 188180
URL: http://svn.freebsd.org/changeset/base/188180

Log:
  do_product_lookup should return a const struct pccard_product *.

Modified:
  head/sys/dev/pccard/card_if.m

Modified: head/sys/dev/pccard/card_if.m
==============================================================================
--- head/sys/dev/pccard/card_if.m	Thu Feb  5 19:38:31 2009	(r188179)
+++ head/sys/dev/pccard/card_if.m	Thu Feb  5 19:39:07 2009	(r188180)
@@ -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;


More information about the svn-src-head mailing list