Commit 3e8b3b90 authored by Hanno Boeck's avatar Hanno Boeck Committed by Takashi Iwai

ALSA: constify functions in ac97

Signed-off-by: default avatarHanno Boeck <hanno@hboeck.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f8fe80e4
...@@ -477,7 +477,7 @@ struct snd_ac97_template { ...@@ -477,7 +477,7 @@ struct snd_ac97_template {
struct snd_ac97 { struct snd_ac97 {
/* -- lowlevel (hardware) driver specific -- */ /* -- lowlevel (hardware) driver specific -- */
struct snd_ac97_build_ops * build_ops; const struct snd_ac97_build_ops *build_ops;
void *private_data; void *private_data;
void (*private_free) (struct snd_ac97 *ac97); void (*private_free) (struct snd_ac97 *ac97);
/* --- */ /* --- */
......
...@@ -1961,7 +1961,7 @@ static int snd_ac97_dev_disconnect(struct snd_device *device) ...@@ -1961,7 +1961,7 @@ static int snd_ac97_dev_disconnect(struct snd_device *device)
} }
/* build_ops to do nothing */ /* build_ops to do nothing */
static struct snd_ac97_build_ops null_build_ops; static const struct snd_ac97_build_ops null_build_ops;
#ifdef CONFIG_SND_AC97_POWER_SAVE #ifdef CONFIG_SND_AC97_POWER_SAVE
static void do_update_power(struct work_struct *work) static void do_update_power(struct work_struct *work)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment