diff options
Diffstat (limited to 'lib/device/dev-cache.h')
-rw-r--r-- | lib/device/dev-cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/device/dev-cache.h b/lib/device/dev-cache.h index 449bfeb75..622335982 100644 --- a/lib/device/dev-cache.h +++ b/lib/device/dev-cache.h @@ -53,8 +53,8 @@ int dev_cache_has_scanned(void); int dev_cache_add_dir(const char *path); struct device *dev_cache_get(struct cmd_context *cmd, const char *name, struct dev_filter *f); - -struct device *dev_cache_get_by_devt(struct cmd_context *cmd, dev_t device, struct dev_filter *f, int *filtered); +struct device *dev_cache_get_existing(struct cmd_context *cmd, const char *name, struct dev_filter *f); +struct device *dev_cache_get_by_devt(struct cmd_context *cmd, dev_t devt); struct device *dev_hash_get(const char *name); |