summaryrefslogtreecommitdiffstats
path: root/sys/dev/bwi
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
commit8045b08e4df0219c258a95afc6a654c8ba4f3494 (patch)
tree8a1b3ef398eb3f730dd98cd8346c8e47be7d3821 /sys/dev/bwi
parent5e41205b166387321bf83101cb158e537c71dc58 (diff)
downloadFreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.zip
FreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the rest of the devices.
Diffstat (limited to 'sys/dev/bwi')
-rw-r--r--sys/dev/bwi/if_bwi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bwi/if_bwi.c b/sys/dev/bwi/if_bwi.c
index 5501c13..23a9e5f 100644
--- a/sys/dev/bwi/if_bwi.c
+++ b/sys/dev/bwi/if_bwi.c
@@ -537,11 +537,11 @@ bwi_attach(struct bwi_softc *sc)
/*
* Add sysctl nodes
*/
- SYSCTL_ADD_UINT(device_get_sysctl_ctx(dev),
+ SYSCTL_ADD_INT(device_get_sysctl_ctx(dev),
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO,
"fw_version", CTLFLAG_RD, &sc->sc_fw_version, 0,
"Firmware version");
- SYSCTL_ADD_UINT(device_get_sysctl_ctx(dev),
+ SYSCTL_ADD_INT(device_get_sysctl_ctx(dev),
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO,
"led_idle", CTLFLAG_RW, &sc->sc_led_idle, 0,
"# ticks before LED enters idle state");
OpenPOWER on IntegriCloud