summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r--discover/device-handler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h
index 1d78a49..854be48 100644
--- a/discover/device-handler.h
+++ b/discover/device-handler.h
@@ -108,6 +108,9 @@ struct discover_device *device_lookup_by_label(struct device_handler *handler,
const char *label);
struct discover_device *device_lookup_by_id(struct device_handler *handler,
const char *id);
+struct discover_device *device_lookup_by_serial(
+ struct device_handler *device_handler,
+ const char *serial);
void discover_device_set_param(struct discover_device *device,
const char *name, const char *value);
OpenPOWER on IntegriCloud