From: Dmitry Torokhov Date: Wed, 9 Feb 2011 00:29:34 +0000 (-0800) Subject: USB: xhci: fix couple sparse annotations X-Git-Tag: v2.6.38-rc7~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c50a00f8feba42c5bccff47e052e4cb0c95dcd2b;p=pandora-kernel.git USB: xhci: fix couple sparse annotations There is no point in casting to (void *) when setting up xhci->ir_set as it only makes us lose __iomem annotation and makes sparse unhappy. OTOH we do need to cast to (void *) when calculating xhci->dba from offset, but since it is IO memory we need to annotate it as such. Signed-off-by: Dmitry Torokhov Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed