projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d99500
)
ALSA: serial-u16550: More constification
author
Takashi Iwai
<tiwai@suse.de>
Sun, 5 Jan 2020 14:48:13 +0000
(15:48 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Sun, 5 Jan 2020 15:15:08 +0000
(16:15 +0100)
Apply const prefix to the string array.
Just for minor optimization and no functional changes.
Link:
https://lore.kernel.org/r/20200105144823.29547-59-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/serial-u16550.c
patch
|
blob
|
history
diff --git
a/sound/drivers/serial-u16550.c
b/sound/drivers/serial-u16550.c
index
893c2b5
..
3947f08
100644
(file)
--- a/
sound/drivers/serial-u16550.c
+++ b/
sound/drivers/serial-u16550.c
@@
-42,7
+42,7
@@
MODULE_SUPPORTED_DEVICE("{{ALSA, MIDI serial u16550}}");
#define SNDRV_SERIAL_MS124W_MB 3 /* Midiator MS-124W in M/B mode */
#define SNDRV_SERIAL_GENERIC 4 /* Generic Interface */
#define SNDRV_SERIAL_MAX_ADAPTOR SNDRV_SERIAL_GENERIC
-static c
har *
adaptor_names[] = {
+static c
onst char * const
adaptor_names[] = {
"Soundcanvas",
"MS-124T",
"MS-124W S/A",