From: Dan Carpenter Date: Thu, 8 Apr 2010 04:50:08 +0000 (-0700) Subject: stmmac: use resource_size() X-Git-Tag: v2.6.34-rc5~25^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b62226826b4ea1926b644b5a337ffa6b637d4870;p=pandora-kernel.git stmmac: use resource_size() Resource size should be calculated as end - start + 1 because we start counting at zero. I changed the code to resource_size() to do the calculation. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed