Fix em28xx compilation warnings. From: Nicola Soranzo <nsoranzo@xxxxxxxxxx> Inline ac97_return_record_select() function to fix compilation warnings like: CC [M] /home/nicola/v4l-dvb-11a5eb383205/v4l/em28xx-audio.o /home/nicola/v4l-dvb-11a5eb383205/v4l/em28xx.h:326: warning: 'ac97_return_record_select' defined but not used CC [M] /home/nicola/v4l-dvb-11a5eb383205/v4l/em28xx-video.o /home/nicola/v4l-dvb-11a5eb383205/v4l/em28xx.h:326: warning: 'ac97_return_record_select' defined but not used ... introduced by changeset 10228. Priority: normal Signed-off-by: Nicola Soranzo <nsoranzo@xxxxxxxxxx> diff -ur v4l-dvb-11a5eb383205/linux/drivers/media/video/em28xx/em28xx.h v4l- dvb-new/linux/drivers/media/video/em28xx/em28xx.h --- v4l-dvb-11a5eb383205/linux/drivers/media/video/em28xx/em28xx.h 2009-01-14 08:58:36.000000000 +0100 +++ v4l-dvb-new/linux/drivers/media/video/em28xx/em28xx.h 2009-01-15 12:54:11.000000000 +0100 @@ -322,7 +322,7 @@ 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; } -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html