diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2010-09-10 11:19:03 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2010-09-10 11:19:03 +0000 |
commit | 3d844eddb70884ea1c2414d9cec87c16974b3f67 (patch) | |
tree | df34a15378a2bfdd3403ef89e431e6f0c53c379c /sys/isa | |
parent | 5696dee9f45132c83ae72a27262423b978b57f86 (diff) | |
download | src-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/isa')
-rw-r--r-- | sys/isa/isa_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index bcf77299244f..1d1a13af6472 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -597,7 +597,7 @@ isa_probe_children(device_t dev) * Add a new child with default ivars. */ static device_t -isa_add_child(device_t dev, int order, const char *name, int unit) +isa_add_child(device_t dev, u_int order, const char *name, int unit) { device_t child; struct isa_device *idev; |