USB: musb: kill compile warning for Blackfin systems
authorBryan Wu <cooloney@kernel.org>
Mon, 16 Nov 2009 10:49:20 +0000 (16:19 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:55:24 +0000 (11:55 -0800)
commit92dea9f3c92a96fce8f355151d536f5b1d07589e
treecef37442e412d5d8179116a21bce1212436778d7
parent04f4086fdc10e60e790d5fc070c33c8905d1d32e
USB: musb: kill compile warning for Blackfin systems

The Blackfin version of musb_read_target_reg_base() returns a u16 when the
common code expects a (void __iomem *), so update the Blackfin function to
return the right value.  This fixes the compile warning:

drivers/usb/musb/musb_core.c: In function 'musb_core_init':
drivers/usb/musb/musb_core.c:1448: warning: assignment makes pointer from
integer without a cast

Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_regs.h