Used only for lookups;  builds on i386.

OK?

Index: usb/uaudio.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/uaudio.c,v
retrieving revision 1.169
diff -u -p -r1.169 uaudio.c
--- usb/uaudio.c        21 Mar 2022 19:22:42 -0000      1.169
+++ usb/uaudio.c        19 Oct 2022 08:32:24 -0000
@@ -501,7 +501,7 @@ const struct audio_hw_if uaudio_hw_if = 
  * don't care about continuous sample rates or other "advanced"
  * features which complicate implementation.
  */
-int uaudio_rates[] = {
+const int uaudio_rates[] = {
        8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000,
        64000, 88200, 96000, 128000, 176400, 192000
 };
Index: pci/maestro.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/maestro.c,v
retrieving revision 1.46
diff -u -p -r1.46 maestro.c
--- pci/maestro.c       21 Mar 2022 19:22:41 -0000      1.46
+++ pci/maestro.c       19 Oct 2022 08:31:53 -0000
@@ -552,7 +552,7 @@ const struct audio_hw_if maestro_hw_if =
        maestro_trigger_input
 };
 
-struct {
+const struct {
        u_short vendor, product;
        int flags;
 } maestro_pcitab[] = {

Reply via email to