+static const struct file_operations cdns_reg_fops = { + .open = simple_open, + .read = cdns_reg_read, + .llseek = default_llseek, +};DEFINE_SHOW_ATTRIBUTE()?
I remember looking at this but can't recall why I left it this way. That was before my Summer break so will relook, thanks for suggesting this. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel