From: Hans Verkuil Date: Sat, 17 Jan 2009 14:21:02 +0000 (-0300) Subject: V4L/DVB (10243): em28xx: fix compile warning X-Git-Tag: v2.6.29-rc4~69^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32929fb4c7c4a693ed723253b21e7bf3c8cb4b1c;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git V4L/DVB (10243): em28xx: fix compile warning Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index 23d1482..e15ca2f 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h @@ -321,7 +321,7 @@ enum em28xx_aout { EM28XX_AOUT_PCM_PHONE = 7 << 8, }; -static int ac97_return_record_select(int a_out) +static inline int ac97_return_record_select(int a_out) { return (a_out & 0x700) >> 8; }