X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=sound%2Fcore%2Fhwdep.c;h=b412d3b3d5ffcbf95ba11edc5ab7154548e4b1d9;hb=f15ee210cdb87f82147df237d2fcfc4527523d62;hp=00cb5aed10a9a2ab023ab2a54fc646cc0e4add3e;hpb=c622fc5f54cb0c7ea2e6fedba27ba533b97657d8;p=linux-block.git diff --git a/sound/core/hwdep.c b/sound/core/hwdep.c index 00cb5aed10a9..b412d3b3d5ff 100644 --- a/sound/core/hwdep.c +++ b/sound/core/hwdep.c @@ -353,7 +353,7 @@ int snd_hwdep_new(struct snd_card *card, char *id, int device, { struct snd_hwdep *hwdep; int err; - static struct snd_device_ops ops = { + static const struct snd_device_ops ops = { .dev_free = snd_hwdep_dev_free, .dev_register = snd_hwdep_dev_register, .dev_disconnect = snd_hwdep_dev_disconnect,