Message ID | 200906101944.n5AJiIKQ031735@imap1.linux-foundation.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Wed, Jun 10, 2009 at 11:44 PM, <akpm@linux-foundation.org> wrote: > From: Alessio Igor Bogani <abogani@texware.it> > > 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. It was already applied to v4l-dvb tree (and probably to v4l git tree). Thanks,
On Thu, 11 Jun 2009 03:21:36 +0400 Alexey Klimov <klimov.linux@gmail.com> wrote: > On Wed, Jun 10, 2009 at 11:44 PM, <akpm@linux-foundation.org> wrote: > > From: Alessio Igor Bogani <abogani@texware.it> > > > > 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. > > It was already applied to v4l-dvb tree (and probably to v4l git tree). It isn't in today's linux-next. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Em Wed, 10 Jun 2009 16:23:44 -0700 Andrew Morton <akpm@linux-foundation.org> escreveu: > On Thu, 11 Jun 2009 03:21:36 +0400 Alexey Klimov <klimov.linux@gmail.com> wrote: > > > On Wed, Jun 10, 2009 at 11:44 PM, <akpm@linux-foundation.org> wrote: > > > From: Alessio Igor Bogani <abogani@texware.it> > > > > > > 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. > > > > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -puN drivers/media/radio/radio-mr800.c~radio-mr800c-missing-mutex-include drivers/media/radio/radio-mr800.c --- a/drivers/media/radio/radio-mr800.c~radio-mr800c-missing-mutex-include +++ a/drivers/media/radio/radio-mr800.c @@ -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 <klimov.linux@gmail.com>"