[i2c] [PATCH 04/12] i2c : Use mutex instead of semaphore in driver core

Dave Young hidave.darkstar at gmail.com
Wed Jan 2 02:06:31 CET 2008


On Dec 29, 2007 7:49 PM, Stefan Richter <stefanr at s5r6.in-berlin.de> wrote:
> Dave Young wrote:
> > --- linux/drivers/i2c/i2c-core.c      2007-12-28 10:06:58.000000000 +0800
> > +++ linux.new/drivers/i2c/i2c-core.c  2007-12-28 10:08:58.000000000 +0800
> > @@ -33,8 +33,8 @@
> >  #include <linux/platform_device.h>
> >  #include <linux/mutex.h>
> >  #include <linux/completion.h>
> > +#include <linux/mutex.h>
> >  #include <asm/uaccess.h>
> > -#include <asm/semaphore.h>
>
> 2x #include <linux/mutex.h>

Thanks, my fault ;)
This patch series need more lockdep works to be done. After that I
will repost it.

> --
> Stefan Richter
> -=====-=-=== ==-- ===-=
> http://arcgraph.de/sr/
>



More information about the i2c mailing list