radio-mr800.c: missing mutex include
Subsystems (2)
PATCH 1/6 radio-mr800.c: missing mutex include
From: Alessio Igor Bogani <[email protected]>
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.
---
drivers/media/radio/radio-mr800.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/radio/radio-mr800.c renamed from drivers/media/radio/radio-mr800.c~radio-mr800c-missing-mutex-include +1 -0
@@ -64,6 +64,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 <[email protected]>"
_
Quoted 5 lines · On Wed, Jun 10, 2009 at 11:44 PM, <[email protected]> wrote:
From: Alessio Igor Bogani <[email protected]>
radio-mr800.cuses 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.
It was already applied to v4l-dvb tree (and probably to v4l git tree). Thanks,
Signature · 1 line
regards, Klimov Alexey
Quoted 8 lines · On Thu, 11 Jun 2009 03:21:36 +0400 Alexey Klimov <[email protected]> wrote:
Quoted 5 lines · On Wed, Jun 10, 2009 at 11:44 PM, <[email protected]> wrote:
From: Alessio Igor Bogani <[email protected]>
radio-mr800.cuses 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.It was already applied to v4l-dvb tree (and probably to v4l git tree).
It isn't in today's linux-next.
Em Wed, 10 Jun 2009 16:23:44 -0700
Andrew Morton <[email protected]> escreveu:
Quoted 5 lines · On Thu, 11 Jun 2009 03:21:36 +0400 Alexey Klimov <[email protected]> wrote:
Quoted 4 lines · On Wed, Jun 10, 2009 at 11:44 PM, <[email protected]> wrote:
Quoted 2 lines
From: Alessio Igor Bogani <[email protected]>
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
radio-mr800.cuses 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.It was already applied to v4l-dvb tree (and probably to v4l git tree).
It isn't in today's linux-next.
Hi Andrew,
Thanks for remind us about those 6 patches. I'll double check if those are already on my staging tree. If they aren't I'll apply or comment.
Since I'm currently in the proccess updating my trees, I should be adding several pending patches on my -git tree, probably in time for tomorrow's linux-next tree.
Cheers,
Mauro