aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2014-12-03 15:29:53 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2014-12-03 15:29:53 +0000
commitb10c08a52b7001d1f6066085971ccbbf3cc66600 (patch)
treec75743414aa16e86827d1a2d71783aecf1f62edb /sys/sys/bus.h
parentf9477570ec8b415fc557b47f7f7d2b543aa65a0e (diff)
downloadsrc-b10c08a52b7001d1f6066085971ccbbf3cc66600.tar.gz
src-b10c08a52b7001d1f6066085971ccbbf3cc66600.zip
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_*().
Notes
Notes: svn path=/head/; revision=275460
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 95584c36afb7..b15a5568200b 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? */