diff options
author | avg <avg@FreeBSD.org> | 2010-09-10 11:19:03 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-09-10 11:19:03 +0000 |
commit | c9fe8ad7f06a5eb11bd5ba5224721d64a9b81afd (patch) | |
tree | df34a15378a2bfdd3403ef89e431e6f0c53c379c /sys/pc98/pc98 | |
parent | cab433458afbc7e2f04ab7edaf6866c0d70724ea (diff) | |
download | FreeBSD-src-c9fe8ad7f06a5eb11bd5ba5224721d64a9b81afd.zip FreeBSD-src-c9fe8ad7f06a5eb11bd5ba5224721d64a9b81afd.tar.gz |
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
Diffstat (limited to 'sys/pc98/pc98')
-rw-r--r-- | sys/pc98/pc98/canbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/pc98/canbus.c b/sys/pc98/pc98/canbus.c index 522b4d0..ceb2d71 100644 --- a/sys/pc98/pc98/canbus.c +++ b/sys/pc98/pc98/canbus.c @@ -82,7 +82,7 @@ static int canbus_detach(device_t); /* Bus interface methods */ static int canbus_print_child(device_t, device_t); -static device_t canbus_add_child(device_t, int, const char *, int); +static device_t canbus_add_child(device_t, u_int, const char *, int); static struct resource * canbus_alloc_resource( device_t, device_t, int, int *, u_long, u_long, u_long, u_int); static int canbus_activate_resource( @@ -235,7 +235,7 @@ canbus_print_child(device_t dev, device_t child) } static device_t -canbus_add_child(device_t bus, int order, const char *name, int unit) +canbus_add_child(device_t bus, u_int order, const char *name, int unit) { device_t child; struct canbus_device *cbdev; |