diff --git a/sound/core/seq/oss/seq_oss_readq.c b/sound/core/seq/oss/seq_oss_readq.c index 06b21226b4e7..d0c8cfef14de 100644 --- a/sound/core/seq/oss/seq_oss_readq.c +++ b/sound/core/seq/oss/seq_oss_readq.c @@ -126,7 +126,7 @@ struct readq_sysex_ctx { int dev; }; -static int readq_dump_sysex(void *ptr, void *buf, int count) +static int readq_dump_sysex(void *ptr, const void *buf, int count) { struct readq_sysex_ctx *ctx = ptr;