Use inline for a function in linux/ucb1400.h. include/linux/ucb1400.h:139: warning: 'ucb1400_adc_read' defined but not used Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> --- diff --git a/include/linux/ucb1400.h b/include/linux/ucb1400.h index 970473b..2c0f83b 100644 --- a/include/linux/ucb1400.h +++ b/include/linux/ucb1400.h @@ -134,8 +134,8 @@ static inline void ucb1400_adc_enable(struct snd_ac97 *ac97) ucb1400_reg_write(ac97, UCB_ADC_CR, UCB_ADC_ENA); } -static unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, u16 adc_channel, - int adcsync) +static inline unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, + u16 adc_channel, int adcsync) { unsigned int val; -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html