summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcic_p.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
commit1b46557c21ab146b0e43c06a8e1e922202afd373 (patch)
tree1ec35db1a5a1d4721c6893b6be4dff54402005ea /sys/pci/pcic_p.c
parent2d9e52659ce15a8f818a51abfda4613167fdc974 (diff)
downloadFreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.zip
FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.tar.gz
probe function changed from returning char * to const char *.
Diffstat (limited to 'sys/pci/pcic_p.c')
-rw-r--r--sys/pci/pcic_p.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/pcic_p.c b/sys/pci/pcic_p.c
index 4c667f2..fd8b40b 100644
--- a/sys/pci/pcic_p.c
+++ b/sys/pci/pcic_p.c
@@ -26,7 +26,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: pcic_p.c,v 1.5 1998/02/07 20:41:20 nate Exp $
+ * $Id: pcic_p.c,v 1.6 1998/08/18 00:32:48 bde Exp $
*/
#include "pci.h"
@@ -44,7 +44,7 @@
static u_long pcic_pci_count = 0;
-static char *pcic_pci_probe(pcici_t, pcidi_t);
+static const char *pcic_pci_probe(pcici_t, pcidi_t);
static void pcic_pci_attach(pcici_t, int);
static void pd6832_legacy_init(pcici_t tag, int unit);
@@ -63,7 +63,7 @@ DATA_SET(pcidevice_set, pcic_pci_driver);
* Return the ID string for the controller if the vendor/product id
* matches, NULL otherwise.
*/
-static char *
+static const char *
pcic_pci_probe(pcici_t tag, pcidi_t type)
{
switch (type) {
OpenPOWER on IntegriCloud