aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/cy_pci.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
commit2cbe36f7259481bdc879887e0afc0394e15be45a (patch)
tree13a21b9677a58fef30a78bbb8d207d106092329e /sys/pci/cy_pci.c
parent9402b52081f0f68b7ce0580b700b6bb14bc53e8e (diff)
downloadsrc-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/pci/cy_pci.c')
-rw-r--r--sys/pci/cy_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/cy_pci.c b/sys/pci/cy_pci.c
index ae48965f69e6..a40630841411 100644
--- a/sys/pci/cy_pci.c
+++ b/sys/pci/cy_pci.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cy_pci.c,v 1.5 1997/02/22 09:44:00 peter Exp $
+ * $Id: cy_pci.c,v 1.6 1997/09/02 20:06:24 bde Exp $
*/
/*
@@ -44,7 +44,7 @@
#include <pci/cy_pcireg.h>
-static char *cy_probe __P((pcici_t, pcidi_t));
+static const char *cy_probe __P((pcici_t, pcidi_t));
static void cy_attach __P((pcici_t, int));
extern int cyattach_common(void *, int); /* Not exactly correct */
@@ -61,7 +61,7 @@ static struct pci_device cy_device = {
};
DATA_SET(pcidevice_set, cy_device);
-static char *
+static const char *
cy_probe(config_id, device_id)
pcici_t config_id;
pcidi_t device_id;