From: Tejun Heo Date: Fri, 7 Mar 2014 15:24:47 +0000 (-0500) Subject: wireless/rt2x00: don't use PREPARE_WORK in rt2800usb.c X-Git-Tag: v3.15-rc1~162^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d82fead4639ab657d70f71b2bfefcd387a7c2a4c;p=pandora-kernel.git wireless/rt2x00: don't use PREPARE_WORK in rt2800usb.c PREPARE_[DELAYED_]WORK() are being phased out. They have few users and a nasty surprise in terms of reentrancy guarantee as workqueue considers work items to be different if they don't have the same work function. Update rt2800usb.c to use INIT_WORK() instead of PREPARE_WORK(). As the work item isn't in active use during rt2800usb_probe_hw(), this doesn't cause any behavior difference. It would probably be best to route this with other related updates through the workqueue tree. Only compile tested. Signed-off-by: Tejun Heo Cc: Ivo van Doorn Cc: Gertjan van Wingerde Cc: Helmut Schaa Cc: linux-wireless@vger.kernel.org --- Reading git-diff-tree failed