summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorJie Yang <yang.jie@intel.com>2015-05-02 15:28:07 +0800
committerTakashi Iwai <tiwai@suse.de>2015-05-02 10:02:17 +0200
commit973109cafc9d11e41be4d64667ff2165bf79d948 (patch)
tree5e40a66a13042564178880526dddda27a786faad /sound/pci/hda/hda_codec.h
parent43b2cd547edcba4733bf21ea2b3f6600e3bdc514 (diff)
downloadblackbird-op-linux-973109cafc9d11e41be4d64667ff2165bf79d948.tar.gz
blackbird-op-linux-973109cafc9d11e41be4d64667ff2165bf79d948.zip
ALSA: jack: fix a randconfig build issue
Building errors reported such as below when 'CONFIG_INPUT=m': ...undefined reference to `input_xxx'... Here change to enable SND_JACK selectively to fix the issue. Also remove the config 'SND_HDA_INPUT_JACK' which won't be used anymore. Signed-off-by: Jie Yang <yang.jie@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 9075ac28dc4b..28a1f1c81562 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -300,10 +300,8 @@ struct hda_codec {
unsigned long jackpoll_interval; /* In jiffies. Zero means no poll, rely on unsol events */
struct delayed_work jackpoll_work;
-#ifdef CONFIG_SND_HDA_INPUT_JACK
/* jack detection */
struct snd_array jacks;
-#endif
int depop_delay; /* depop delay in ms, -1 for default delay time */
OpenPOWER on IntegriCloud