diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-04-27 11:17:35 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-04-27 11:17:35 -0400 |
commit | 6a30abaa40b62aed46ef12ea4c16c48565bdb376 (patch) | |
tree | 264ffd389538cbdfd4072fb1498bf149628dc44f | |
parent | 0f925660a7bc49b269c163249a5d06da3a0c7b0a (diff) |
ALSA: hda - Fix incorrect usage of IS_REACHABLE()
The commit c469652bb5e8 ("ALSA: hda - Use IS_REACHABLE() for
dependency on input") simplified the dependencies with IS_REACHABLE()
macro, but it broke due to its incorrect usage: it should have been
IS_REACHABLE(CONFIG_INPUT) instead of IS_REACHABLE(INPUT).
Fixes: c469652bb5e8 ("ALSA: hda - Use IS_REACHABLE() for dependency on input")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8c238e51bb5a..2dd34dd77447 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -3832,7 +3832,7 @@ static void alc280_fixup_hp_gpio4(struct hda_codec *codec, | |||
3832 | } | 3832 | } |
3833 | } | 3833 | } |
3834 | 3834 | ||
3835 | #if IS_REACHABLE(INPUT) | 3835 | #if IS_REACHABLE(CONFIG_INPUT) |
3836 | static void gpio2_mic_hotkey_event(struct hda_codec *codec, | 3836 | static void gpio2_mic_hotkey_event(struct hda_codec *codec, |
3837 | struct hda_jack_callback *event) | 3837 | struct hda_jack_callback *event) |
3838 | { | 3838 | { |