]> err.no Git - linux-2.6/commit
USB: isp1760: Assign resource fields before adding hcd
authorNate Case <ncase@xes-inc.com>
Wed, 21 May 2008 21:28:20 +0000 (16:28 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jun 2008 00:06:33 +0000 (17:06 -0700)
commite6942d633be61f1638e08c56ab8244fc9f1c61e3
tree863d13908099d4e63b0c26c9555984678641474b
parent62b5884875fcd4babf6c0c377046f226abbfe491
USB: isp1760: Assign resource fields before adding hcd

This fixes the bogus "io mem 0x00000000" message printed
during driver init due to hcd->rsrc_start being assigned after
the call to usb_add_hcd().

Signed-off-by: Nate Case <ncase@xes-inc.com>
Acked-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-hcd.c