summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/uhci_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/uhci_pci.c')
-rw-r--r--sys/dev/pci/uhci_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/uhci_pci.c b/sys/dev/pci/uhci_pci.c
index cfca628..f17b9af 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;
OpenPOWER on IntegriCloud