Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2009 18:38:40 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188160 - head/sys/dev/atkbdc
Message-ID:  <200902051838.n15IceDM034480@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Feb  5 18:38:39 2009
New Revision: 188160
URL: http://svn.freebsd.org/changeset/base/188160

Log:
  bus_add_child takes a const char *.

Modified:
  head/sys/dev/atkbdc/atkbdc_isa.c

Modified: head/sys/dev/atkbdc/atkbdc_isa.c
==============================================================================
--- head/sys/dev/atkbdc/atkbdc_isa.c	Thu Feb  5 18:23:28 2009	(r188159)
+++ head/sys/dev/atkbdc/atkbdc_isa.c	Thu Feb  5 18:38:39 2009	(r188160)
@@ -47,8 +47,8 @@ __FBSDID("$FreeBSD$");
 
 static int	atkbdc_isa_probe(device_t dev);
 static int	atkbdc_isa_attach(device_t dev);
-static device_t	atkbdc_isa_add_child(device_t bus, int order, char *name,
-				 int unit);
+static device_t	atkbdc_isa_add_child(device_t bus, int order, const char *name,
+		    int unit);
 
 static device_method_t atkbdc_isa_methods[] = {
 	DEVMETHOD(device_probe,		atkbdc_isa_probe),
@@ -227,7 +227,7 @@ atkbdc_isa_attach(device_t dev)
 }
 
 static device_t
-atkbdc_isa_add_child(device_t bus, int order, char *name, int unit)
+atkbdc_isa_add_child(device_t bus, int order, const char *name, int unit)
 {
 	atkbdc_device_t	*ivar;
 	device_t	child;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902051838.n15IceDM034480>