USB: xhci: fix couple sparse annotations
authorDmitry Torokhov <dtor@vmware.com>
Wed, 9 Feb 2011 00:29:34 +0000 (16:29 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Sun, 20 Feb 2011 15:07:07 +0000 (07:07 -0800)
commitc50a00f8feba42c5bccff47e052e4cb0c95dcd2b
treefa425c6792ac53866fb97f13851de726c091efef
parent09ece30e06b19994e6f3d260e5c4be18dce22714
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 <dtor@vmware.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-mem.c