aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2010-09-10 11:19:03 +0000
committerAndriy Gapon <avg@FreeBSD.org>2010-09-10 11:19:03 +0000
commit3d844eddb70884ea1c2414d9cec87c16974b3f67 (patch)
treedf34a15378a2bfdd3403ef89e431e6f0c53c379c /sys/powerpc/aim
parent5696dee9f45132c83ae72a27262423b978b57f86 (diff)
downloadsrc-3d844eddb70884ea1c2414d9cec87c16974b3f67.tar.gz
src-3d844eddb70884ea1c2414d9cec87c16974b3f67.zip
bus_add_child: change type of order parameter to u_int
This reflects actual type used to store and compare child device orders. Change is mostly done via a Coccinelle (soon to be devel/coccinelle) semantic patch. Verified by LINT+modules kernel builds. Followup to: r212213 MFC after: 10 days
Notes
Notes: svn path=/head/; revision=212413
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/nexus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/nexus.c b/sys/powerpc/aim/nexus.c
index 46e57a525b97..b17de11eccc6 100644
--- a/sys/powerpc/aim/nexus.c
+++ b/sys/powerpc/aim/nexus.c
@@ -115,7 +115,7 @@ static int nexus_attach(device_t);
/*
* Bus interface
*/
-static device_t nexus_add_child(device_t, int, const char *, int);
+static device_t nexus_add_child(device_t, u_int, const char *, int);
static void nexus_probe_nomatch(device_t, device_t);
static int nexus_read_ivar(device_t, device_t, int, uintptr_t *);
static int nexus_write_ivar(device_t, device_t, int, uintptr_t);
@@ -262,7 +262,7 @@ nexus_probe_nomatch(device_t dev, device_t child)
}
static device_t
-nexus_add_child(device_t dev, int order, const char *name, int unit)
+nexus_add_child(device_t dev, u_int order, const char *name, int unit)
{
device_t child;
struct nexus_devinfo *dinfo;