diff options
Diffstat (limited to 'core/device.h')
-rw-r--r-- | core/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/device.h b/core/device.h index 0ef0d4c92..21e264d39 100644 --- a/core/device.h +++ b/core/device.h @@ -32,6 +32,7 @@ extern const struct device *get_device_for_dc(const struct device_table *table, extern bool device_exists(const struct device_table *table, const struct device *dev); extern int add_to_device_table(struct device_table *table, const struct device *dev); // returns index extern int remove_device(struct device_table *table, const struct device *dev); // returns index or -1 if not found +extern void remove_from_device_table(struct device_table *table, int idx); // struct device accessors for C-code. The returned strings are not stable! const char *device_get_model(const struct device *dev); |