public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] radio-mr800.c: Missing mutex include
@ 2009-03-17 21:00 Alessio Igor Bogani
  2009-03-17 21:42 ` Alexey Klimov
  0 siblings, 1 reply; 3+ messages in thread
From: Alessio Igor Bogani @ 2009-03-17 21:00 UTC (permalink / raw)
  To: Alexey Klimov
  Cc: LKML, Mauro Carvalho Chehab, linux-media, video4linux-list,
	Alessio Igor Bogani

radio-mr800.c uses struct mutex, so while <linux/mutex.h> seems to be
pulled in indirectly by one of the headers it already includes, the
right thing is to include it directly.

Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
---
 drivers/media/radio/radio-mr800.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c
index fdfc7bf..4d91148 100644
--- a/drivers/media/radio/radio-mr800.c
+++ b/drivers/media/radio/radio-mr800.c
@@ -58,6 +58,7 @@
 #include <media/v4l2-ioctl.h>
 #include <linux/usb.h>
 #include <linux/version.h>	/* for KERNEL_VERSION MACRO */
+#include <linux/mutex.h>
 
 /* driver and module definitions */
 #define DRIVER_AUTHOR "Alexey Klimov <klimov.linux@gmail.com>"
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-27 10:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-17 21:00 [PATCH] radio-mr800.c: Missing mutex include Alessio Igor Bogani
2009-03-17 21:42 ` Alexey Klimov
2009-03-27 10:11   ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox