diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-09-14 17:04:15 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-09-18 16:48:25 +0300 |
commit | 621c51be8ed17b2d56847a09aa651087ca1d218a (patch) | |
tree | 0375fb0ce9587f37f4be4862c87d03f1df9a9e8e /sound/pci/oxygen/xonar_dg.h | |
parent | c4fd43793bdecb986bfc80e00c8792556c3f1c7f (diff) | |
download | linux-621c51be8ed17b2d56847a09aa651087ca1d218a.tar.xz |
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>
Diffstat (limited to 'sound/pci/oxygen/xonar_dg.h')
-rw-r--r-- | sound/pci/oxygen/xonar_dg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/xonar_dg.h b/sound/pci/oxygen/xonar_dg.h index d461df357aa1..5a07cda011b3 100644 --- a/sound/pci/oxygen/xonar_dg.h +++ b/sound/pci/oxygen/xonar_dg.h @@ -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 |