ALSA: oxygen: Xonar DG(X): make model_xonar_dg const

Make this const as it not modified anywhere. It is only used during a
copy operation. Also, add const to the declaration in header.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Этот коммит содержится в:
Bhumika Goyal
2017-09-14 19:34:15 +05:30
коммит произвёл Takashi Iwai
родитель c4fd43793b
Коммит 621c51be8e
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -51,6 +51,6 @@ void dg_suspend(struct oxygen *chip);
void dg_resume(struct oxygen *chip);
void dg_cleanup(struct oxygen *chip);
extern struct oxygen_model model_xonar_dg;
extern const struct oxygen_model model_xonar_dg;
#endif