From: Jean Delvare Date: Mon, 13 Apr 2009 21:40:21 +0000 (-0700) Subject: edac: use to_delayed_work() X-Git-Tag: v2.6.30-rc2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbeb4384748abb78531bbe1e80d627412a0abcfa;p=pandora-kernel.git edac: use to_delayed_work() The edac-core driver includes code which assumes that the work_struct which is included in every delayed_work is the first member of that structure. This is currently the case but might change in the future, so use to_delayed_work() instead, which doesn't make such an assumption. linux-2.6.30-rc1 has the to_delayed_work() function that will allow this patch to work Signed-off-by: Jean Delvare Signed-off-by: Doug Thompson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed