pchb_get_bus_number() is actually public trunk
authorjakllsch <jakllsch@NetBSD.org>
Sat, 20 Aug 2011 19:56:31 +0000
branchtrunk
changeset 204279 f14e60e9931e
parent 204278 2ad646a10492
child 204280 1341f96cdfc7
pchb_get_bus_number() is actually public
sys/arch/x86/pci/pchb.c
--- a/sys/arch/x86/pci/pchb.c	Sat Aug 20 19:53:45 2011 +0000
+++ b/sys/arch/x86/pci/pchb.c	Sat Aug 20 19:56:31 2011 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: pchb.c,v 1.30 2011/08/20 19:49:55 jakllsch Exp $ */
+/*	$NetBSD: pchb.c,v 1.31 2011/08/20 19:56:31 jakllsch Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.30 2011/08/20 19:49:55 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.31 2011/08/20 19:56:31 jakllsch Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -91,7 +91,7 @@
 	return 0;
 }
 
-static int
+int
 pchb_get_bus_number(pci_chipset_tag_t pc, pcitag_t tag)
 {
 	pcireg_t dev_id;