]> sigrok.org Git - libsigrok.git/blobdiff - src/input/binary.c
input: Introduce new input module API.
[libsigrok.git] / src / input / binary.c
index e0d4c1dd43576e195addacfe400eab3f6e681ee8..91970dbf8417e2ba100a606fcc1d6877aa2cb3bf 100644 (file)
@@ -142,9 +142,9 @@ static int loadfile(struct sr_input *in, const char *filename)
        return SR_OK;
 }
 
-SR_PRIV struct sr_input_format input_binary = {
+SR_PRIV struct sr_input_module input_binary = {
        .id = "binary",
-       .description = "Raw binary",
+       .desc = "Raw binary",
        .format_match = format_match,
        .init = init,
        .loadfile = loadfile,