summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-09-10 11:19:03 +0000
committeravg <avg@FreeBSD.org>2010-09-10 11:19:03 +0000
commitc9fe8ad7f06a5eb11bd5ba5224721d64a9b81afd (patch)
treedf34a15378a2bfdd3403ef89e431e6f0c53c379c /sys/dev/ppbus
parentcab433458afbc7e2f04ab7edaf6866c0d70724ea (diff)
downloadFreeBSD-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/dev/ppbus')
-rw-r--r--sys/dev/ppbus/ppbconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/ppbconf.c b/sys/dev/ppbus/ppbconf.c
index a994355..9e21c67 100644
--- a/sys/dev/ppbus/ppbconf.c
+++ b/sys/dev/ppbus/ppbconf.c
@@ -90,7 +90,7 @@ ppbus_probe(device_t dev)
* Add a ppbus device, allocate/initialize the ivars
*/
static device_t
-ppbus_add_child(device_t dev, int order, const char *name, int unit)
+ppbus_add_child(device_t dev, u_int order, const char *name, int unit)
{
struct ppb_device *ppbdev;
device_t child;
OpenPOWER on IntegriCloud