From: Stephen Rothwell on
Hi Dave,

On Tue, 9 Mar 2010 10:42:21 +1100 Stephen Rothwell <sfr(a)canb.auug.org.au> wrote:
>
> Signed-off-by: Stephen Rothwell <sfr(a)canb.auug.org.au>
> ---
> drivers/net/wireless/ath/ar9170/usb.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> I have been carrying this patch in linux-next for some time as a fixup
> for the driver-core tree. It is now needed in net-2.6 (i.e. my
> net-current) (since you merged the wireless tree) *after* you merge with
> Linus' tree i.e. the down()/up() are present in the net-2.6 tree and the
> changes to the driver core to use mutexes are in Linus' tree.

Greg tells me that the semaphore to mutex change didn't go into Linus'
tree. However, this patch can still be applied as the device_lock/unlock
primitives did go in. I guess that the include of mutex.h is not needed.

--
Cheers,
Stephen Rothwell sfr(a)canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
From: Stefan Richter on
Stephen Rothwell wrote:
> Greg tells me that the semaphore to mutex change didn't go into Linus'
> tree. However, this patch can still be applied as the device_lock/unlock
> primitives did go in. I guess that the include of mutex.h is not needed.

An #include <linux/device.h> seems to be in order though. It is pulled
in via linux/usb.h and this is surely not bound to change anytime soon,
but still.
--
Stefan Richter
-=====-==-=- --== -=--=
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Stephen Rothwell on
Hi Stefan,

On Tue, 09 Mar 2010 19:00:02 +0100 Stefan Richter <stefanr(a)s5r6.in-berlin.de> wrote:
>
> Stephen Rothwell wrote:
> > Greg tells me that the semaphore to mutex change didn't go into Linus'
> > tree. However, this patch can still be applied as the device_lock/unlock
> > primitives did go in. I guess that the include of mutex.h is not needed.
>
> An #include <linux/device.h> seems to be in order though. It is pulled
> in via linux/usb.h and this is surely not bound to change anytime soon,
> but still.

Damn! Caught by my own "Rule #1" :-)

Thanks.
--
Cheers,
Stephen Rothwell sfr(a)canb.auug.org.au
http://www.canb.auug.org.au/~sfr/