diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 15:47:47 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 16:14:53 +0100 |
commit | 9ca7a0c97923a88d9bbb645ea6e3e1ffe2bd5661 (patch) | |
tree | 078a5a4c0c63e2241aae5b7e1b9a6b4535e250b6 /sound/pci/asihpi/hpimsgx.c | |
parent | ALSA: ctxfi: More constifications (diff) | |
download | linux-dev-9ca7a0c97923a88d9bbb645ea6e3e1ffe2bd5661.tar.xz linux-dev-9ca7a0c97923a88d9bbb645ea6e3e1ffe2bd5661.zip |
ALSA: asihpi: More constifications
Apply const prefix to each possible place: the static tables for
formats, parameters, etc.
Just for minor optimization and no functional changes.
Link: https://lore.kernel.org/r/20200105144823.29547-33-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r-- | sound/pci/asihpi/hpimsgx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/asihpi/hpimsgx.c b/sound/pci/asihpi/hpimsgx.c index 5fb0b98bec30..f7427f8eb630 100644 --- a/sound/pci/asihpi/hpimsgx.c +++ b/sound/pci/asihpi/hpimsgx.c @@ -17,7 +17,7 @@ Extended Message Function With Response Caching #include "hpimsgx.h" #include "hpidebug.h" -static struct pci_device_id asihpi_pci_tbl[] = { +static const struct pci_device_id asihpi_pci_tbl[] = { #include "hpipcida.h" }; |