diff options
author | jhb <jhb@FreeBSD.org> | 2014-12-03 15:29:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-12-03 15:29:53 +0000 |
commit | 1e8b1cd5103416fe57e7ca170b88aea4461e1935 (patch) | |
tree | c75743414aa16e86827d1a2d71783aecf1f62edb /sys/sys/bus.h | |
parent | 4c8c231b28bd5a8a0641516dae108054f908f65e (diff) | |
download | FreeBSD-src-1e8b1cd5103416fe57e7ca170b88aea4461e1935.zip FreeBSD-src-1e8b1cd5103416fe57e7ca170b88aea4461e1935.tar.gz |
Revert device_getenv_int() for now as it duplicates resource_int_value().
We should perhaps implement a device_getenv_*() and device_setenv_*() API
as a convenience wrapper on top of resource_*_value() and resource_set_*().
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r-- | sys/sys/bus.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h index 95584c3..b15a556 100644 --- a/sys/sys/bus.h +++ b/sys/sys/bus.h @@ -449,7 +449,6 @@ const char *device_get_nameunit(device_t dev); void *device_get_softc(device_t dev); device_state_t device_get_state(device_t dev); int device_get_unit(device_t dev); -int device_getenv_int(device_t dev, const char *knob, int *iptr); struct sysctl_ctx_list *device_get_sysctl_ctx(device_t dev); struct sysctl_oid *device_get_sysctl_tree(device_t dev); int device_is_alive(device_t dev); /* did probe succeed? */ |