summaryrefslogtreecommitdiffstats
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/device.c b/device.c
index 39f742acb..5b744224e 100644
--- a/device.c
+++ b/device.c
@@ -4,6 +4,11 @@
static struct device_info *device_info_list;
+struct device_info *head_of_device_info_list(void)
+{
+ return device_info_list;
+}
+
static int match_device_info(struct device_info *entry, const char *model, uint32_t deviceid)
{
return !strcmp(entry->model, model) && entry->deviceid == deviceid;