projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: core: Constify snd_device_ops definitions
[linux-block.git]
/
sound
/
core
/
hwdep.c
diff --git
a/sound/core/hwdep.c
b/sound/core/hwdep.c
index 00cb5aed10a9a2ab023ab2a54fc646cc0e4add3e..b412d3b3d5ffcbf95ba11edc5ab7154548e4b1d9 100644
(file)
--- a/
sound/core/hwdep.c
+++ b/
sound/core/hwdep.c
@@
-353,7
+353,7
@@
int snd_hwdep_new(struct snd_card *card, char *id, int device,
{
struct snd_hwdep *hwdep;
int err;
- static struct snd_device_ops ops = {
+ static
const
struct snd_device_ops ops = {
.dev_free = snd_hwdep_dev_free,
.dev_register = snd_hwdep_dev_register,
.dev_disconnect = snd_hwdep_dev_disconnect,