aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-17 11:21:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-29 08:35:39 -0200
commit32929fb4c7c4a693ed723253b21e7bf3c8cb4b1c (patch)
tree1d2194c306f7c9a43e21c8c802561887395c4ecd
parentaeaecaf8eba9efa6a0a623122abb8f61449e42ef (diff)
V4L/DVB (10243): em28xx: fix compile warning
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/em28xx/em28xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 23d1482df2d..e15ca2f0fb1 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;
}