* grub-core/bus/usb/ehci.c (grub_ehci_restore_hw): Return right enum
type. (grub_ehci_fini_hw): Likewise. * grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise.
This commit is contained in:
parent
dac6ce73be
commit
3f63b4d89f
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/bus/usb/ehci.c (grub_ehci_restore_hw): Return right enum
|
||||||
|
type.
|
||||||
|
(grub_ehci_fini_hw): Likewise.
|
||||||
|
* grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise.
|
||||||
|
|
||||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/usb.h (grub_usb_controller_dev): Make portstatus
|
* include/grub/usb.h (grub_usb_controller_dev): Make portstatus
|
||||||
|
|
|
@ -1887,7 +1887,7 @@ grub_ehci_restore_hw (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return GRUB_USB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static grub_err_t
|
static grub_err_t
|
||||||
|
@ -1910,7 +1910,7 @@ grub_ehci_fini_hw (int noreturn __attribute__ ((unused)))
|
||||||
grub_ehci_reset (e);
|
grub_ehci_reset (e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return GRUB_USB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct grub_usb_controller_dev usb_controller = {
|
static struct grub_usb_controller_dev usb_controller = {
|
||||||
|
|
|
@ -195,7 +195,7 @@ grub_usb_add_hub (grub_usb_device_t dev)
|
||||||
|
|
||||||
rescan = 1;
|
rescan = 1;
|
||||||
|
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_USB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue