diff options
-rw-r--r-- | sound/pci/hda/patch_via.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 5ec0e39593b5..5a856009c916 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c | |||
@@ -2043,7 +2043,10 @@ static void via_speaker_automute(struct hda_codec *codec) | |||
2043 | /* mute line-out and internal speaker if HP is plugged */ | 2043 | /* mute line-out and internal speaker if HP is plugged */ |
2044 | static void via_hp_bind_automute(struct hda_codec *codec) | 2044 | static void via_hp_bind_automute(struct hda_codec *codec) |
2045 | { | 2045 | { |
2046 | unsigned int hp_present, present = 0; | 2046 | /* use long instead of int below just to avoid an internal compiler |
2047 | * error with gcc 4.0.x | ||
2048 | */ | ||
2049 | unsigned long hp_present, present = 0; | ||
2047 | struct via_spec *spec = codec->spec; | 2050 | struct via_spec *spec = codec->spec; |
2048 | int i; | 2051 | int i; |
2049 | 2052 | ||