From: Hans Verkuil Date: Sat, 17 Jan 2009 14:21:02 +0000 (-0300) Subject: V4L/DVB (10243): em28xx: fix compile warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=32929fb4c7c4a693ed723253b21e7bf3c8cb4b1c;p=linux-beck.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 23d1482df2d1..e15ca2f0fb11 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; }