From 93f8c41e18b3514ddb7ce4818568608aa759487e Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 5 Feb 2009 18:38:39 +0000 Subject: [PATCH] bus_add_child takes a const char *. --- sys/dev/atkbdc/atkbdc_isa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/atkbdc/atkbdc_isa.c b/sys/dev/atkbdc/atkbdc_isa.c index 4f535db55bdb..975d29935718 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;