Skip to content

Commit

Permalink
ALSA: hda - Fix incorrect usage of IS_REACHABLE()
Browse files Browse the repository at this point in the history
The commit c469652 ("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: c469652 ("ALSA: hda - Use IS_REACHABLE() for dependency on input")
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Apr 27, 2018
1 parent 0f92566 commit 6a30aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -3832,7 +3832,7 @@ static void alc280_fixup_hp_gpio4(struct hda_codec *codec,
}
}

#if IS_REACHABLE(INPUT)
#if IS_REACHABLE(CONFIG_INPUT)
static void gpio2_mic_hotkey_event(struct hda_codec *codec,
struct hda_jack_callback *event)
{
Expand Down

0 comments on commit 6a30aba

Please sign in to comment.