mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
[PATCH] USB: fix build breakage in dummy_hcd.c
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
1a7ec1a6a1
commit
cca2362c64
@ -944,7 +944,7 @@ static int dummy_udc_suspend (struct platform_device *dev, pm_message_t state)
|
|||||||
set_link_state (dum);
|
set_link_state (dum);
|
||||||
spin_unlock_irq (&dum->lock);
|
spin_unlock_irq (&dum->lock);
|
||||||
|
|
||||||
dev->power.power_state = state;
|
dev->dev.power.power_state = state;
|
||||||
usb_hcd_poll_rh_status (dummy_to_hcd (dum));
|
usb_hcd_poll_rh_status (dummy_to_hcd (dum));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -1904,7 +1904,7 @@ static int dummy_hcd_probe (struct platform_device *dev)
|
|||||||
struct usb_hcd *hcd;
|
struct usb_hcd *hcd;
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
dev_info (dev, "%s, driver " DRIVER_VERSION "\n", driver_desc);
|
dev_info(&dev->dev, "%s, driver " DRIVER_VERSION "\n", driver_desc);
|
||||||
|
|
||||||
hcd = usb_create_hcd (&dummy_hcd, &dev->dev, dev->dev.bus_id);
|
hcd = usb_create_hcd (&dummy_hcd, &dev->dev, dev->dev.bus_id);
|
||||||
if (!hcd)
|
if (!hcd)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user