session: Implement dev_clear().

This commit is contained in:
Bert Vermeulen 2014-02-26 21:35:33 +01:00
parent 8102cee4d4
commit 824fba0341
1 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ static int init(struct sr_context *sr_ctx)
return SR_OK;
}
static int cleanup(void)
static int dev_clear(void)
{
GSList *l;
@ -310,10 +310,10 @@ SR_PRIV struct sr_dev_driver session_driver = {
.longname = "Session-emulating driver",
.api_version = 1,
.init = init,
.cleanup = cleanup,
.cleanup = dev_clear,
.scan = NULL,
.dev_list = NULL,
.dev_clear = NULL,
.dev_clear = dev_clear,
.config_get = config_get,
.config_set = config_set,
.config_list = config_list,