diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-14 05:47:29 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-14 05:47:29 +0000 |
commit | 5e557fc6bd95db1b1db3232e918d1477b60ea15d (patch) | |
tree | 0b23397a63155d259042171997a0d2a53e18851d /sys/pci/pcivar.h | |
parent | 6d407291a85c950fa545a5200d6a66fb4748d70c (diff) | |
download | FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.zip FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.tar.gz |
pci_device pd_probe function changed from returning char * to returning
const char *. Originally I was going to add casts from const char * to
char * in some of the pci device drivers, but the reality is that the
pci device probes return constant quoted strings.
Diffstat (limited to 'sys/pci/pcivar.h')
-rw-r--r-- | sys/pci/pcivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/pcivar.h b/sys/pci/pcivar.h index 13e9991..75f48a8 100644 --- a/sys/pci/pcivar.h +++ b/sys/pci/pcivar.h @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcivar.h,v 1.21 1998/09/15 08:21:09 gibbs Exp $ + * $Id: pcivar.h,v 1.22 1998/10/06 14:18:40 dfr Exp $ * */ @@ -199,7 +199,7 @@ extern int pci_mechanism; struct pci_device { char* pd_name; - char* (*pd_probe ) (pcici_t tag, pcidi_t type); + const char* (*pd_probe ) (pcici_t tag, pcidi_t type); void (*pd_attach) (pcici_t tag, int unit); u_long *pd_count; int (*pd_shutdown) (int, int); |