diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
commit | 2cbe36f7259481bdc879887e0afc0394e15be45a (patch) | |
tree | 13a21b9677a58fef30a78bbb8d207d106092329e /sys/dev/pci/uhci_pci.c | |
parent | 9402b52081f0f68b7ce0580b700b6bb14bc53e8e (diff) | |
download | src-2cbe36f7259481bdc879887e0afc0394e15be45a.tar.gz src-2cbe36f7259481bdc879887e0afc0394e15be45a.zip |
probe function changed from returning char * to const char *.
Notes
Notes:
svn path=/head/; revision=41771
Diffstat (limited to 'sys/dev/pci/uhci_pci.c')
-rw-r--r-- | sys/dev/pci/uhci_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/uhci_pci.c b/sys/dev/pci/uhci_pci.c index cfca628398de..f17b9af2747a 100644 --- a/sys/dev/pci/uhci_pci.c +++ b/sys/dev/pci/uhci_pci.c @@ -94,8 +94,8 @@ struct cfattach uhci_pci_ca = { #define PCI_UHCI_BASE_REG 0x20 -static char *uhci_pci_probe __P((pcici_t, pcidi_t)); -static void uhci_pci_attach __P((pcici_t, int)); +static const char *uhci_pci_probe __P((pcici_t, pcidi_t)); +static void uhci_pci_attach __P((pcici_t, int)); u_long uhci_count = 0; /* global counter for nr. of devices found */ @@ -129,7 +129,7 @@ uhci_pci_match(parent, match, aux) } #elif defined(__FreeBSD__) -static char * +static const char * uhci_pci_probe(pcici_t config_id, pcidi_t device_id) { u_int32_t class; |