ALSA: core: Constify snd_device_ops definitions
[linux-block.git] / sound / core / hwdep.c
index 00cb5aed10a9a2ab023ab2a54fc646cc0e4add3e..b412d3b3d5ffcbf95ba11edc5ab7154548e4b1d9 100644 (file)
@@ -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,