summaryrefslogtreecommitdiffstats
path: root/sys/dev/atkbdc/atkbdc_isa.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-05 18:38:39 +0000
committerimp <imp@FreeBSD.org>2009-02-05 18:38:39 +0000
commit93f8c41e18b3514ddb7ce4818568608aa759487e (patch)
tree4b50812c78ef85f8744b1fd3a77c606bd754c384 /sys/dev/atkbdc/atkbdc_isa.c
parent75271fb340fc41a6efe7d24218933246718eea3f (diff)
downloadFreeBSD-src-93f8c41e18b3514ddb7ce4818568608aa759487e.zip
FreeBSD-src-93f8c41e18b3514ddb7ce4818568608aa759487e.tar.gz
bus_add_child takes a const char *.
Diffstat (limited to 'sys/dev/atkbdc/atkbdc_isa.c')
-rw-r--r--sys/dev/atkbdc/atkbdc_isa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/atkbdc/atkbdc_isa.c b/sys/dev/atkbdc/atkbdc_isa.c
index 4f535db..975d299 100644
--- a/sys/dev/atkbdc/atkbdc_isa.c
+++ b/sys/dev/atkbdc/atkbdc_isa.c
@@ -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;
OpenPOWER on IntegriCloud