Add sr_ prefix to list_hwplugins().
This commit is contained in:
parent
6f1be0a2d4
commit
ee4b6342af
2
device.c
2
device.c
|
@ -30,7 +30,7 @@ void sr_device_scan(void)
|
||||||
GSList *plugins, *l;
|
GSList *plugins, *l;
|
||||||
struct sr_device_plugin *plugin;
|
struct sr_device_plugin *plugin;
|
||||||
|
|
||||||
plugins = list_hwplugins();
|
plugins = sr_list_hwplugins();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize all plugins first. Since the init() call may involve
|
* Initialize all plugins first. Since the init() call may involve
|
||||||
|
|
|
@ -95,7 +95,7 @@ int load_hwplugins(void)
|
||||||
return SR_OK;
|
return SR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
GSList *list_hwplugins(void)
|
GSList *sr_list_hwplugins(void)
|
||||||
{
|
{
|
||||||
return plugins;
|
return plugins;
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ int filter_probes(int in_unitsize, int out_unitsize, int *probelist,
|
||||||
/*--- hwplugin.c ------------------------------------------------------------*/
|
/*--- hwplugin.c ------------------------------------------------------------*/
|
||||||
|
|
||||||
int load_hwplugins(void);
|
int load_hwplugins(void);
|
||||||
GSList *list_hwplugins(void);
|
GSList *sr_list_hwplugins(void);
|
||||||
|
|
||||||
/* Generic device instances */
|
/* Generic device instances */
|
||||||
struct sr_device_instance *sr_device_instance_new(int index,
|
struct sr_device_instance *sr_device_instance_new(int index,
|
||||||
|
|
Loading…
Reference in New Issue