]> sigrok.org Git - libsigrok.git/blobdiff - src/input/csv.c
input: sr_input_new() always allocates the instance buffer.
[libsigrok.git] / src / input / csv.c
index 1218cd640fa263d1f0cf9db645fb35c36aa51213..2d53bf6f67f5998075c8c7df5c770c21f39be457 100644 (file)
@@ -863,9 +863,9 @@ static int loadfile(struct sr_input *in, const char *filename)
        return SR_OK;
 }
 
-SR_PRIV struct sr_input_format input_csv = {
+SR_PRIV struct sr_input_module input_csv = {
        .id = "csv",
-       .description = "Comma-separated values (CSV)",
+       .desc = "Comma-separated values (CSV)",
        .format_match = format_match,
        .init = init,
        .loadfile = loadfile,