summaryrefslogtreecommitdiffstats
path: root/sys/pci/ide_pci.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
commit5e557fc6bd95db1b1db3232e918d1477b60ea15d (patch)
tree0b23397a63155d259042171997a0d2a53e18851d /sys/pci/ide_pci.c
parent6d407291a85c950fa545a5200d6a66fb4748d70c (diff)
downloadFreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.zip
FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.tar.gz
pci_device pd_probe function changed from returning char * to returning
const char *. Originally I was going to add casts from const char * to char * in some of the pci device drivers, but the reality is that the pci device probes return constant quoted strings.
Diffstat (limited to 'sys/pci/ide_pci.c')
-rw-r--r--sys/pci/ide_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/ide_pci.c b/sys/pci/ide_pci.c
index 70a4570..e7dfcdd 100644
--- a/sys/pci/ide_pci.c
+++ b/sys/pci/ide_pci.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ide_pci.c,v 1.15 1998/12/04 21:41:18 archie Exp $
+ * $Id: ide_pci.c,v 1.16 1998/12/10 01:52:16 archie Exp $
*/
#include "pci.h"
@@ -898,7 +898,7 @@ mkcookie(int iobase_wd,
return cp;
}
-static char *
+static const char *
ide_pci_probe(pcici_t tag, pcidi_t type)
{
u_long data;
OpenPOWER on IntegriCloud