git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: isa: Constify snd_device_ops definitions
[sfrench/cifs-2.6.git]
/
sound
/
isa
/
ad1816a
/
ad1816a_lib.c
diff --git
a/sound/isa/ad1816a/ad1816a_lib.c
b/sound/isa/ad1816a/ad1816a_lib.c
index da6f68b8c248d32728974930fc0cafa9dba846de..560885fbc983a206485748ebc7022a916fcbaaa7 100644
(file)
--- a/
sound/isa/ad1816a/ad1816a_lib.c
+++ b/
sound/isa/ad1816a/ad1816a_lib.c
@@
-577,7
+577,7
@@
int snd_ad1816a_create(struct snd_card *card,
unsigned long port, int irq, int dma1, int dma2,
struct snd_ad1816a *chip)
{
-
static
struct snd_device_ops ops = {
+
static const
struct snd_device_ops ops = {
.dev_free = snd_ad1816a_dev_free,
};
int error;