ALSA: info: Make snd_info_entry_ops as const
[linux-2.6-microblaze.git] / Documentation / sound / kernel-api / writing-an-alsa-driver.rst
index 7b1ba1e..8204e3b 100644 (file)
@@ -3912,7 +3912,7 @@ For a raw-data proc-file, set the attributes as follows:
 
 ::
 
-  static struct snd_info_entry_ops my_file_io_ops = {
+  static const struct snd_info_entry_ops my_file_io_ops = {
           .read = my_file_io_read,
   };