Subject: [PATCH next-20080822] Fix compile warning with linux/ucb1400.h

From: Takashi Iwai <[email-masked]>
Date: Fri, 22 Aug 2008 16:26:36 +0200

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 <[email-masked]>

---
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;