Re: [patch] snd: fix build bug with CONFIG_SND_HDA_CODEC_SIGMATEL=y && !CONFIG_SND_HDA_GENERIC

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Takashi Iwai <tiwai@...>
Cc: <linux-kernel@...>, Jaroslav Kysela <perex@...>, Andrew Morton <akpm@...>
Date: Thursday, October 18, 2007 - 10:54 am

* Takashi Iwai <tiwai@suse.de> wrote:


pushing an #ifdef into a driver is quite unclean, if then you should 
define snd_hda_parse_generic_codec() in a header as a -ENODEV inline 
function if !CONFIG_SND_HDA_GENERIC.

	Ingo
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] snd: fix build bug with CONFIG_SND_HDA_CODEC_SIG..., Ingo Molnar, (Thu Oct 18, 10:54 am)